Remove from run task containers removing
This commit is contained in:
parent
d98e87c89d
commit
29b6b9e232
@ -5,7 +5,6 @@
|
|||||||
- file: state=directory path=/etc/solar/{{haproxy.name}}
|
- file: state=directory path=/etc/solar/{{haproxy.name}}
|
||||||
# TODO Remove hardcoded path
|
# TODO Remove hardcoded path
|
||||||
- template: src=/vagrant/examples/resources/templates/haproxy.cfg.j2 dest=/etc/solar/{{haproxy.name}}/haproxy.cfg backup=yes
|
- template: src=/vagrant/examples/resources/templates/haproxy.cfg.j2 dest=/etc/solar/{{haproxy.name}}/haproxy.cfg backup=yes
|
||||||
- shell: docker rm -f {{haproxy.name}} || true
|
|
||||||
- shell: docker run -d \
|
- shell: docker run -d \
|
||||||
--net="host" \
|
--net="host" \
|
||||||
--privileged \
|
--privileged \
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
- hosts: [keystone]
|
- hosts: [keystone]
|
||||||
sudo: yes
|
sudo: yes
|
||||||
tasks:
|
tasks:
|
||||||
- shell: docker rm -f {{keystone.name}} || true
|
|
||||||
- shell: docker run -d --net="host" --privileged \
|
- shell: docker run -d --net="host" --privileged \
|
||||||
-e "DB_ROOT_PASSWORD={{mariadb.root_password}}" \
|
-e "DB_ROOT_PASSWORD={{mariadb.root_password}}" \
|
||||||
-e "KEYSTONE_PUBLIC_SERVICE_PORT={{keystone.public_port}}" \
|
-e "KEYSTONE_PUBLIC_SERVICE_PORT={{keystone.public_port}}" \
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
- hosts: [mariadb]
|
- hosts: [mariadb]
|
||||||
sudo: yes
|
sudo: yes
|
||||||
tasks:
|
tasks:
|
||||||
# REMOVE BEFORE PUSHING into the repo
|
|
||||||
- shell: docker rm -f {{mariadb.name}} || true
|
|
||||||
- shell: docker run \
|
- shell: docker run \
|
||||||
-d \
|
-d \
|
||||||
--net="host" \
|
--net="host" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user