]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
purge-cluster: we don't support sysv or upstart anymore
authorAndrew Schoen <aschoen@redhat.com>
Fri, 21 Apr 2017 22:14:38 +0000 (15:14 -0700)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 25 Apr 2017 18:08:51 +0000 (13:08 -0500)
Now that ceph-ansible only supports > jewel we don't need
to bother with sysv or upstart

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 26bdd59f5d445db7991eecd0d13f7c8615bc4812)

infrastructure-playbooks/purge-cluster.yml

index 6a7248a88d42b9a20d02983033451b5068318c79..58b049fd127c96d87e74d58a5135bbbc0a2654ed 100644 (file)
      path: /var/log/ceph
      state: absent
 
-  - name: remove from sysv
-    shell: "update-rc.d -f ceph remove"
-    when: ansible_service_mgr == 'sysvinit'
-
-  - name: remove upstart and sysv files
-    shell: "find /etc -name '*ceph*' -delete"
-    when: ansible_service_mgr == 'upstart'
-
-  - name: remove upstart and apt logs and cache
-    shell: "find /var -name '*ceph*' -delete"
-    failed_when: false
-    when: ansible_distribution == 'Ubuntu'
-
   - name: request data removal
     local_action: shell echo requesting data removal
     become: false