common/tasks/main.yml

30 lines
831 B
YAML

---
- include_tasks: basics.yml
- include_tasks: usability.yml
- include_tasks: ssh.yml
- meta: flush_handlers
- include_tasks: iptables/purge.yml
when: common__iptables__state == 'purge'
- include_tasks: iptables/install.yml
when: common__iptables__state == 'install'
- meta: flush_handlers
- include_tasks: certbot/purge.yml
when: common__certbot__state == 'purge'
- 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