-
-
Save nickjj/525534429e3b898eca12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set rsyslogd_path = '/etc/rsyslog.d/' %} | |
Purge rsyslog: | |
pkg.purged: | |
- name: rsyslog | |
- onlyif: | |
- stat {{ rsyslogd_path }} | |
Remove rsyslog.d/: | |
file.absent: | |
- name: {{ rsyslogd_path }} | |
- onlyif: | |
- stat {{ rsyslogd_path }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment