Removed inclusion of docker everywhere
It is now included in the common role itself, which is applied to all.
This commit is contained in:
parent
ecbd592440
commit
86cd68e465
@ -3,5 +3,4 @@
|
||||
- hosts: cassandra
|
||||
become: True
|
||||
roles:
|
||||
- common
|
||||
- cassandra
|
||||
|
@ -3,5 +3,4 @@
|
||||
- hosts: databases
|
||||
become: True
|
||||
roles:
|
||||
- common
|
||||
- mariadb
|
||||
|
@ -1,6 +1,5 @@
|
||||
# Install a docker based cassandra cluster.
|
||||
---
|
||||
- include: ../common/tasks/docker.yml
|
||||
- name: install service file.
|
||||
template:
|
||||
src: templates/cassandra.service
|
||||
|
@ -26,6 +26,4 @@
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
#- name: Load secrets file
|
||||
# include_vars:
|
||||
# file: secrets/password_list.yml
|
||||
- include: docker.yml
|
||||
|
@ -1,6 +1,5 @@
|
||||
# Install a docker based mariadb.
|
||||
---
|
||||
- include: ../common/tasks/docker.yml
|
||||
- name: install service file.
|
||||
template:
|
||||
src: files/dockerregistry.service
|
||||
|
@ -1,7 +1,5 @@
|
||||
# Build and install a docker image for glance.
|
||||
---
|
||||
- include: ../common/tasks/docker.yml
|
||||
|
||||
- name: Make build and persistent directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
|
@ -1,7 +1,5 @@
|
||||
# Build and install a docker image for horizon.
|
||||
---
|
||||
- include: ../common/tasks/docker.yml
|
||||
|
||||
- name: Make build and persistent directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
|
@ -1,7 +1,5 @@
|
||||
# Build and install a docker image for keystone.
|
||||
---
|
||||
- include: ../common/tasks/docker.yml
|
||||
|
||||
- name: Make build and persistent directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
|
@ -9,7 +9,7 @@ Restart=always
|
||||
ExecStartPre=-/usr/bin/docker stop %n
|
||||
ExecStartPre=-/usr/bin/docker rm %n
|
||||
ExecStart=/usr/bin/docker run --name %n \
|
||||
--add-host=mariadb:{{ hostvars[groups['databases'][0]]['ansible_default_ipv4']['address'] }} \
|
||||
--add-host=mariadb:172.23.41.2 \
|
||||
-p 5000:5000 -p 35357:35357 \
|
||||
-v /srv/keystone/fernet-keys:/etc/keystone/fernet-keys \
|
||||
hpc/keystone
|
||||
|
@ -1,6 +1,5 @@
|
||||
# Install a docker based mariadb.
|
||||
---
|
||||
- include: ../common/tasks/docker.yml
|
||||
- name: install service file.
|
||||
template:
|
||||
src: files/mysql.service
|
||||
|
@ -1,6 +1,5 @@
|
||||
# Install a docker based mariadb.
|
||||
---
|
||||
- include: ../common/tasks/docker.yml
|
||||
- name: install service file.
|
||||
template:
|
||||
src: files/memcached.service
|
||||
|
@ -1,7 +1,5 @@
|
||||
# Build and install a docker image for nova-controller.
|
||||
---
|
||||
- include: ../common/tasks/docker.yml
|
||||
|
||||
- name: Make build and persistent directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
|
@ -1,6 +1,5 @@
|
||||
# Install a docker based rabbitMQ.
|
||||
---
|
||||
- include: ../common/tasks/docker.yml
|
||||
- name: install service file.
|
||||
template:
|
||||
src: files/rabbitmq.service
|
||||
|
Loading…
Reference in New Issue
Block a user