Split web and DB onto different servers
This commit is contained in:
parent
f0b3cc30ec
commit
7b11bb43f6
10 changed files with 110 additions and 51 deletions
|
@ -1,6 +1,16 @@
|
|||
all:
|
||||
hosts:
|
||||
178.62.51.101:
|
||||
vars:
|
||||
ansible_ssh_port: 2849
|
||||
ansible_ssh_user: root
|
||||
children:
|
||||
db:
|
||||
hosts:
|
||||
144.126.204.35:
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
ansible_ssh_port: 2849
|
||||
ansible_ssh_user: root
|
||||
web:
|
||||
hosts:
|
||||
64.227.46.2:
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
ansible_ssh_port: 2849
|
||||
ansible_ssh_user: root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue