Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

postfixadmin.yml 836B

123456789101112131415161718192021222324252627282930
  1. ---
  2. - name: postfix sql map directory
  3. file:
  4. path: /etc/postfix/sql/
  5. state: directory
  6. mode: u=rwx,g=rx,o=
  7. group: postfix
  8. - name: postfixadmin sql map configuration
  9. template:
  10. src: sql/{{item}}.j2
  11. dest: /etc/postfix/sql/{{item}}
  12. mode: u=rwx,g=rx,o=
  13. group: postfix
  14. with_items:
  15. - mysql_virtual_alias_domain_catchall_maps.cf
  16. - mysql_virtual_alias_domain_maps.cf
  17. - mysql_virtual_domains_maps.cf
  18. - mysql_virtual_mailbox_maps.cf
  19. - mysql_virtual_alias_domain_mailbox_maps.cf
  20. - mysql_virtual_alias_maps.cf
  21. - mysql_virtual_mailbox_limit_maps.cf
  22. - name: postfixadmin mysql user
  23. mysql_user:
  24. name: "{{postfix_postfixadmin_mysql_username}}"
  25. password: "{{postfix_postfixadmin_mysql_password}}"
  26. priv: "{{postfix_postfixadmin_mysql_database}}.*:SELECT"
  27. state: present