Skip to content

Instantly share code, notes, and snippets.

@hostmaster
Created August 6, 2015 13:13
Show Gist options
  • Save hostmaster/db6df436100e2e185d9a to your computer and use it in GitHub Desktop.
Save hostmaster/db6df436100e2e185d9a to your computer and use it in GitHub Desktop.
---
- hosts: all
gather_facts: False
sudo: True
tasks:
- service:
name: revealcloud
enabled: no
state: stopped
- command: killall revealcloud
ignore_errors: True
- file:
path: '{{ item }}'
state: absent
with_items:
- /usr/local/revealcloud
- /etc/init.d/revealcloud
- /etc/init/revealcloud.conf
- user:
name: revealcloud
state: absent
remove: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment