main.yml 758 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. - include_tasks: base.yml
  2. tags:
  3. - 'base'
  4. - 'ipv6'
  5. - include_tasks: dotfiles.yml
  6. when: with_dotfiles|bool
  7. tags:
  8. - 'base'
  9. - include_tasks: ssl.yml
  10. when: ssl_certs|length > 0 or ssl_certs_auto|length > 0
  11. tags:
  12. - 'ssl'
  13. - include_tasks: dns.yml
  14. tags:
  15. - 'dns'
  16. - include_tasks: firewall.yml
  17. when: with_firewall|bool
  18. tags:
  19. - 'firewall'
  20. - include_tasks: security.yml
  21. tags:
  22. - 'security'
  23. - 'logcheck'
  24. - include_tasks: smtp.yml
  25. when: with_postfix|bool or with_mail_aliases|bool
  26. tags:
  27. - 'smtp'
  28. - include_tasks: dkim.yml
  29. when: with_opendkim|bool
  30. tags:
  31. - 'dkim'
  32. - include_tasks: ssh.yml
  33. tags:
  34. - 'ssh'
  35. - include_tasks: smartd.yml
  36. when: with_smartd|bool
  37. tags:
  38. - 'smartd'
  39. # vim: ft=yaml.ansible