summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/uninstall.yml
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-02-16 10:43:00 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-02-16 10:43:00 -0500
commitea215cdd994717a4c07e4610e4c8b836a5b98b35 (patch)
treede153ab15657595bba819cbbe9d23db9a239dc11 /playbooks/adhoc/uninstall.yml
parentbed7a071d1e0a7a503ee4f2ef174276007968d0e (diff)
parentf48bce9589d81b222328d91bc79d8d330fbbbd95 (diff)
downloadopenshift-ea215cdd994717a4c07e4610e4c8b836a5b98b35.tar.gz
openshift-ea215cdd994717a4c07e4610e4c8b836a5b98b35.tar.bz2
openshift-ea215cdd994717a4c07e4610e4c8b836a5b98b35.tar.xz
openshift-ea215cdd994717a4c07e4610e4c8b836a5b98b35.zip
Merge pull request #1387 from talset/atomic_uninstall
Change etcd deamon name for atomic-host in playbooks/adhoc/uninstall.yml
Diffstat (limited to 'playbooks/adhoc/uninstall.yml')
-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