Browse Source

drop de test, pour valider le playbook de bout en bout

pull/1/head
theonlydoo 9 years ago
parent
commit
5f39caa398
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      roles/mail/templates/root-postfix.sql

+ 3
- 1
roles/mail/templates/root-postfix.sql View File

@ -1,4 +1,6 @@
DROP DATABASE IF EXISTS postfix;
DROP USER 'postfix'@'%';
CREATE DATABASE postfix;
GRANT ALL PRIVILEGES ON postfix.* TO 'postfix_admin'@'%' IDENTIFIED BY '{{ dbpassword.stdout }}';
GRANT ALL PRIVILEGES ON postfix.* TO 'postfix'@'%' IDENTIFIED BY '{{ dbpassword.stdout }}';
GRANT SELECT ON postfix.* TO 'postfix'@'%' IDENTIFIED BY '{{ dbpassword.stdout }}';
FLUSH PRIVILEGES;

Loading…
Cancel
Save