-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acmetool is a submodule role so decommission it with a new role
- Loading branch information
1 parent
dafa0e4
commit b11d946
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
- name: Remove acmetool data root | ||
file: | ||
path: /var/lib/acme | ||
state: absent | ||
|
||
- name: Remove renewal crontab | ||
file: | ||
path: /etc/cron.d/acmetool | ||
state: absent | ||
|
||
- name: Remove acmetool firewall rules | ||
file: | ||
path: /etc/iptables.d/acmetool.rules | ||
state: absent | ||
notify: | ||
- iptables | ||
|
||
- name: Remove Service Hooks | ||
file: | ||
path: /usr/libexec/acme/hooks/sv_restart | ||
state: absent | ||
when: acmetool.services is defined | ||
|
||
- name: Remove acmetool | ||
xbps: | ||
pkg: acmetool | ||
state: absent |