Check if ufw is installed before attempting to disable it (#807)
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
This commit is contained in:
1 parent
f382b5516d
commit
54bbcdb816
1 file changed
+4
@@ -71,6 +71,10 @@
|
||||
enabled: false
|
||||
masked: true
|
||||
state: stopped
|
||||
register: stop_service
|
||||
failed_when:
|
||||
- stop_service.failed == true
|
||||
- '"Could not find the requested service" not in stop_service.msg'
|
||||
- name: System Configuration (1) | Enable fstrim
|
||||
ansible.builtin.systemd:
|
||||
service: fstrim.timer
|
||||
|
||||
Reference in new issue
Block a user