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
|
- hosts: cassandra
|
||||||
become: True
|
become: True
|
||||||
roles:
|
roles:
|
||||||
- common
|
|
||||||
- cassandra
|
- cassandra
|
||||||
|
@ -3,5 +3,4 @@
|
|||||||
- hosts: databases
|
- hosts: databases
|
||||||
become: True
|
become: True
|
||||||
roles:
|
roles:
|
||||||
- common
|
|
||||||
- mariadb
|
- mariadb
|
||||||
|
@ -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
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
||||||
|
@ -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 }}"
|
||||||
|
@ -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 }}"
|
||||||
|
@ -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 }}"
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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 }}"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user