Made separate files for different services.
Not sure if i'll keep going this way or find some other solution.
This commit is contained in:
parent
29b4f06ac7
commit
53d83c1bde
5
common.yml
Normal file
5
common.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: True
|
||||
roles:
|
||||
- common
|
5
database.yml
Normal file
5
database.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: database
|
||||
become: True
|
||||
roles:
|
||||
- mariadb
|
5
dockerregistry.yml
Normal file
5
dockerregistry.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: dockerregistry
|
||||
become: True
|
||||
roles:
|
||||
- dockerregistry
|
5
keystone.yml
Normal file
5
keystone.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: keystone
|
||||
become: True
|
||||
roles:
|
||||
- keystone
|
11
main.yml
11
main.yml
@ -1,7 +1,6 @@
|
||||
---
|
||||
# Run all plays as root.
|
||||
- hosts: rabbitmq
|
||||
become: True
|
||||
roles:
|
||||
- common
|
||||
- rabbitmq
|
||||
- include: common.yml
|
||||
- include: database.yml
|
||||
- include: dockerregistry.yml
|
||||
- include: mariadb.yml
|
||||
- include: rabbitmq.yml
|
||||
|
7
mariadb.yml
Normal file
7
mariadb.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
# Run all plays as root.
|
||||
- hosts: databases
|
||||
become: True
|
||||
roles:
|
||||
- common
|
||||
- mariadb
|
5
rabbitmq.yml
Normal file
5
rabbitmq.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: rabbitmq
|
||||
become: True
|
||||
roles:
|
||||
- rabbitmq
|
Loading…
Reference in New Issue
Block a user