ansible-role-apache/lamp_simple/site.yml

23 lines
390 B
YAML

---
# This playbook deploys the whole application stack in this site.
- name: apply common configuration to all nodes
hosts: all
user: root
roles:
- common
- name: configure and deploy the webservers and application code
hosts: webservers
user: root
roles:
- web
- name: deploy MySQL and configure the databases
hosts: dbservers
user: root
roles:
- db