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:
1 parent
29b4f06ac7
commit
53d83c1bde
7 files changed
+37
-6
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: True
|
||||
roles:
|
||||
- common
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: database
|
||||
become: True
|
||||
roles:
|
||||
- mariadb
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: dockerregistry
|
||||
become: True
|
||||
roles:
|
||||
- dockerregistry
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: keystone
|
||||
become: True
|
||||
roles:
|
||||
- keystone
|
||||
@@ -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
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
# Run all plays as root.
|
||||
- hosts: databases
|
||||
become: True
|
||||
roles:
|
||||
- common
|
||||
- mariadb
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: rabbitmq
|
||||
become: True
|
||||
roles:
|
||||
- rabbitmq
|
||||
Reference in new issue
Block a user