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 - hosts: cassandra
become: True become: True
roles: roles:
- common
- cassandra - cassandra

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,5 @@
# Build and install a docker image for glance. # Build and install a docker image for glance.
--- ---
- include: ../common/tasks/docker.yml
- name: Make build and persistent directories - name: Make build and persistent directories
file: file:
path: "{{ item }}" path: "{{ item }}"

View File

@ -1,7 +1,5 @@
# Build and install a docker image for horizon. # Build and install a docker image for horizon.
--- ---
- include: ../common/tasks/docker.yml
- name: Make build and persistent directories - name: Make build and persistent directories
file: file:
path: "{{ item }}" path: "{{ item }}"

View File

@ -1,7 +1,5 @@
# Build and install a docker image for keystone. # Build and install a docker image for keystone.
--- ---
- include: ../common/tasks/docker.yml
- name: Make build and persistent directories - name: Make build and persistent directories
file: file:
path: "{{ item }}" path: "{{ item }}"

View File

@ -9,7 +9,7 @@ Restart=always
ExecStartPre=-/usr/bin/docker stop %n ExecStartPre=-/usr/bin/docker stop %n
ExecStartPre=-/usr/bin/docker rm %n ExecStartPre=-/usr/bin/docker rm %n
ExecStart=/usr/bin/docker run --name %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 \ -p 5000:5000 -p 35357:35357 \
-v /srv/keystone/fernet-keys:/etc/keystone/fernet-keys \ -v /srv/keystone/fernet-keys:/etc/keystone/fernet-keys \
hpc/keystone hpc/keystone

View File

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

View File

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

View File

@ -1,7 +1,5 @@
# Build and install a docker image for nova-controller. # Build and install a docker image for nova-controller.
--- ---
- include: ../common/tasks/docker.yml
- name: Make build and persistent directories - name: Make build and persistent directories
file: file:
path: "{{ item }}" path: "{{ item }}"

View File

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