Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

34 rindas
664B

  1. ---
  2. - name: install package
  3. apt:
  4. pkg: "{{ item }}"
  5. with_items:
  6. - dovecot-imapd
  7. - dovecot-lmtpd
  8. - name: dovecot main configuration file
  9. template:
  10. src: dovecot.conf.j2
  11. dest: /etc/dovecot/dovecot.conf
  12. - name: dovecot configuration files
  13. template:
  14. src: conf.d/{{ item }}.j2
  15. dest: /etc/dovecot/conf.d/{{ item }}
  16. with_items:
  17. - 10-mail.conf
  18. - name: configuration pull directory
  19. local_action: file
  20. args:
  21. path: host_files/{{inventory_hostname}}/etc
  22. state: directory
  23. - name: pull configuration
  24. synchronize:
  25. src: /etc/dovecot
  26. dest: host_files/{{inventory_hostname}}/etc/
  27. mode: pull
  28. recursive: true