playbooks/webserver/playbook.yml
2023-01-27 18:43:20 +01:00

20 lines
379 B
YAML

---
- hosts: webservers
become: true
pre_tasks:
- name: install commons
apt:
name:
- python3-pip
update_cache: yes
roles:
- {role: nginx, tags: nginx}
- {role: wwwuser, tags: wwwuser}
- {role: certbot, tags: certbot}
- {role: php, tags: php}
- {role: mariadb, tags: mariadb}
- {role: firewall, tags: firewall}