From 17f2e835e31854300e63a17e6fee55f8ede1639b Mon Sep 17 00:00:00 2001
From: Brenton Leanhardt <bleanhar@redhat.com>
Date: Wed, 30 Mar 2016 10:21:54 -0400
Subject: Unmask services

Unmasking etcd is is important when switching from containerized installs to
RPM installs
---
 playbooks/adhoc/uninstall.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index 680964d80..8fb515982 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -53,6 +53,14 @@
         - pcsd
       failed_when: false
 
+    - name: unmask services
+      command: systemctl unmask "{{ item }}"
+      changed_when: False
+      failed_when: False
+      with_items:
+        - etcd
+        - firewalld
+
     - name: Stop additional atomic services
       service: name={{ item }} state=stopped
       when: is_containerized | bool
-- 
cgit v1.2.3