Split web and DB onto different servers

This commit is contained in:
Oliver Davies 2020-10-09 16:27:44 +01:00
parent f0b3cc30ec
commit 7b11bb43f6
10 changed files with 110 additions and 51 deletions

View file

@ -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