Sfoglia il codice sorgente

rename yaml files

master
parent
commit
2a7d2b91fc
3 ha cambiato i file con 3 aggiunte e 23 eliminazioni
  1. +0
    -0
      defaults/main.yaml
  2. +0
    -0
      handlers/main.yaml
  3. +3
    -23
      tasks/main.yaml

defaults/main.yml → defaults/main.yaml Vedi File


handlers/main.yml → handlers/main.yaml Vedi File


tasks/main.yml → tasks/main.yaml Vedi File

@@ -33,32 +33,12 @@
- conf.d/10-master.conf
- conf.d/10-mail.conf
- conf.d/10-auth.conf
- conf.d/auth-sql.conf.ext
- dovecot-sql.conf.ext
- conf.d/auth-{{dovecot_auth}}.conf.ext
- conf.d/10-ssl.conf
- conf.d/20-lmtp.conf
- conf.d/90-plugin.conf
notify:
- reload dovecot

- name: postfixadmin mysql user
mysql_user:
name: "{{dovecot_postfixadmin_mysql_username}}"
password: "{{dovecot_postfixadmin_mysql_password}}"
priv: "{{dovecot_postfixadmin_mysql_database}}.*:SELECT"
host: "{{inventory_hostname}}"
state: present
delegate_to: "{{dovecot_postfixadmin_mysql_host}}"

- name: configuration pull directory
local_action: file
args:
path: ~/host_files/{{inventory_hostname}}/etc
state: directory

- name: pull configuration
synchronize:
src: /etc/dovecot
dest: ~/host_files/{{inventory_hostname}}/etc/
mode: pull
recursive: true
- import_tasks: sql.yaml
when: "{{ dovecot_auth == 'sql' }}"

Loading…
Annulla
Salva