Browse Source

Made separate files for different services.

Not sure if i'll keep going this way or find some other solution.
feature/cinder-volume-encryption
Egon Rijpkema 5 years ago
parent
commit
53d83c1bde
  1. 5
      common.yml
  2. 5
      database.yml
  3. 5
      dockerregistry.yml
  4. 5
      keystone.yml
  5. 11
      main.yml
  6. 7
      mariadb.yml
  7. 5
      rabbitmq.yml

5
common.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
---
- hosts: all
become: True
roles:
- common

5
database.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
---
- hosts: database
become: True
roles:
- mariadb

5
dockerregistry.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
---
- hosts: dockerregistry
become: True
roles:
- dockerregistry

5
keystone.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
---
- hosts: keystone
become: True
roles:
- keystone

11
main.yml

@ -1,7 +1,6 @@ @@ -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

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
---
# Run all plays as root.
- hosts: databases
become: True
roles:
- common
- mariadb

5
rabbitmq.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
---
- hosts: rabbitmq
become: True
roles:
- rabbitmq
Loading…
Cancel
Save