Removed inclusion of docker everywhere

It is now included in the common role itself, which is applied to all.
This commit is contained in:
Egon Rijpkema 2017-07-10 09:52:12 +02:00
parent ecbd592440
commit 86cd68e465
13 changed files with 2 additions and 19 deletions

View File

@ -3,5 +3,4 @@
- hosts: cassandra
become: True
roles:
- common
- cassandra

View File

@ -3,5 +3,4 @@
- hosts: databases
become: True
roles:
- common
- mariadb

View File

@ -1,6 +1,5 @@
# Install a docker based cassandra cluster.
---
- include: ../common/tasks/docker.yml
- name: install service file.
template:
src: templates/cassandra.service

View File

@ -26,6 +26,4 @@
owner: root
group: root
#- name: Load secrets file
# include_vars:
# file: secrets/password_list.yml
- include: docker.yml

View File

@ -1,6 +1,5 @@
# Install a docker based mariadb.
---
- include: ../common/tasks/docker.yml
- name: install service file.
template:
src: files/dockerregistry.service

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,5 @@
# Install a docker based mariadb.
---
- include: ../common/tasks/docker.yml
- name: install service file.
template:
src: files/mysql.service

View File

@ -1,6 +1,5 @@
# Install a docker based mariadb.
---
- include: ../common/tasks/docker.yml
- name: install service file.
template:
src: files/memcached.service

View File

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

View File

@ -1,6 +1,5 @@
# Install a docker based rabbitMQ.
---
- include: ../common/tasks/docker.yml
- name: install service file.
template:
src: files/rabbitmq.service