common/tasks/main.yml
2020-02-10 10:41:05 +05:00

25 lines
675 B
YAML

---
- include_tasks: basics.yml
- include_tasks: usability.yml
- include_tasks: ssh.yml
- meta: flush_handlers
- include_tasks: iptables/install.yml
when: common__iptables__state == 'install'
- meta: flush_handlers
- include_tasks: certbot/install.yml
when: common__certbot__state == 'install'
- meta: flush_handlers
- include_tasks: apache/purge.yml
when: common__apache__state == 'purge'
- include_tasks: apache/install.yml
when: common__apache__state == 'install'
- meta: flush_handlers
- include_tasks: nginx/purge.yml
when: common__nginx__state == 'purge'
- include_tasks: nginx/install.yml
when: common__nginx__state == 'install'
- meta: flush_handlers