Add remove actions for keystone, mariadb, haproxy

This commit is contained in:
Evgeniy L
2015-04-20 18:26:46 +03:00
parent a4153da9b6
commit 509529dcef
7 changed files with 14 additions and 6 deletions

View File

@@ -1,6 +1,5 @@
- hosts: [mariadb]
- hosts: [service/mariadb]
sudo: yes
tasks:
- shell: docker stop {{ mariadb.name }}
- shell: docker rm {{ mariadb.name }}
- shell: docker rm -f {{ name }} || true

View File

@@ -2,7 +2,6 @@
- hosts: [service/mariadb]
sudo: yes
tasks:
- shell: docker rm -f {{name}} || true
- shell: docker run \
-d \
--net="host" \