diff options
author | talset <florian.lambert@enovance.com> | 2016-02-10 22:59:14 +0100 |
---|---|---|
committer | talset <florian.lambert@enovance.com> | 2016-02-13 01:04:48 +0100 |
commit | f48bce9589d81b222328d91bc79d8d330fbbbd95 (patch) | |
tree | f2dc89836bd5aea47a3e6bc3d5183b4967026fea /playbooks/adhoc/uninstall.yml | |
parent | 2fd931794bf82cf3e11ad9267df9e0885dde7b1d (diff) | |
download | openshift-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/uninstall.yml')
-rw-r--r-- | playbooks/adhoc/uninstall.yml | 7 |
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 |