Getting shell set up
This commit is contained in:
30
site.yml
Normal file
30
site.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
--
|
||||
# This playbook deploys the whole application stack for wrestlingdev
|
||||
#
|
||||
- name: apply common configuration to all nodes
|
||||
hosts: all
|
||||
remote_user: root
|
||||
|
||||
roles:
|
||||
- common
|
||||
|
||||
- name: configure and deploy the webservers and application code
|
||||
hosts: webservers
|
||||
remote_user: root
|
||||
|
||||
roles:
|
||||
- web
|
||||
|
||||
- name: deploy first db and create cluster
|
||||
hosts: dbfirstclustermachine
|
||||
remote_user: root
|
||||
|
||||
roles:
|
||||
- firstdb
|
||||
|
||||
- name: deploy mysql and configure database
|
||||
hosts: dbservers
|
||||
remote_user: root
|
||||
|
||||
roles:
|
||||
- db
|
||||
Reference in New Issue
Block a user