summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc
diff options
context:
space:
mode:
authortalset <florian.lambert@enovance.com>2016-02-10 22:59:14 +0100
committertalset <florian.lambert@enovance.com>2016-02-13 01:04:48 +0100
commitf48bce9589d81b222328d91bc79d8d330fbbbd95 (patch)
treef2dc89836bd5aea47a3e6bc3d5183b4967026fea /playbooks/adhoc
parent2fd931794bf82cf3e11ad9267df9e0885dde7b1d (diff)
downloadopenshift-f48bce9589d81b222328d91bc79d8d330fbbbd95.tar.gz
openshift-f48bce9589d81b222328d91bc79d8d330fbbbd95.tar.bz2
openshift-f48bce9589d81b222328d91bc79d8d330fbbbd95.tar.xz
openshift-f48bce9589d81b222328d91bc79d8d330fbbbd95.zip
Change etcd deamon name for atomic-host
* Update playbooks/adhoc/uninstall.yml * Etcd run into a container on atomic-host and his name is etcd_container. We have to stop the container with the right name on atomic host
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r--playbooks/adhoc/uninstall.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index 36d686c8b..8b620d9ad 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -53,6 +53,13 @@
- pcsd
failed_when: false
+ - name: Stop additional atomic services
+ service: name={{ item }} state=stopped
+ when: is_atomic | bool
+ with_items:
+ - etcd_container
+ failed_when: false
+
- name: Remove packages
action: "{{ ansible_pkg_mgr }} name={{ item }} state=absent"
when: not is_atomic | bool