You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 5 година
пре 5 година
пре 5 година
1234567891011121314151617
  1. ---
  2. - name: dovecot sql config
  3. template:
  4. src: dovecot-sql.conf.ext.j2
  5. dest: /etc/dovecot/dovecot-sql.conf.ext
  6. notify:
  7. - reload dovecot
  8. - name: postfixadmin mysql user
  9. mysql_user:
  10. name: "{{dovecot_postfixadmin_mysql_username}}"
  11. password: "{{dovecot_postfixadmin_mysql_password}}"
  12. priv: "{{dovecot_postfixadmin_mysql_database}}.*:SELECT"
  13. host: "{{dovecot_postfixadmin_mysql_host}}"
  14. state: present
  15. delegate_to: "{{(dovecot_postfixadmin_mysql_host=='localhost')|ternary(inventory_hostname,dovecot_postfixadmin_mysql_host)}}"