浏览代码

Merge pull request #1387 from talset/atomic_uninstall

Change etcd deamon name for atomic-host in playbooks/adhoc/uninstall.yml
Brenton Leanhardt 9 年之前
父节点
当前提交
ea215cdd99
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      playbooks/adhoc/uninstall.yml

+ 7 - 0
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