mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 03:40:18 +01:00
23 lines
390 B
YAML
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
|