inisital commit

This commit is contained in:
Olivier Barais
2021-12-02 11:43:36 +01:00
parent dd84b7dcab
commit 8545eb3d66
25 changed files with 515 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
# This playbook deploys the whole application stack in this site.
- name: apply common configuration to all nodes
hosts: all
remote_user: vagrant
become: yes
roles:
- common
- name: configure and deploy the webservers and application code
hosts: webservers
remote_user: vagrant
become: yes
roles:
- web
- name: deploy MySQL and configure the databases
hosts: dbservers
remote_user: vagrant
become: yes
roles:
- db