Skip to content
Snippets Groups Projects
Unverified Commit 0932318b authored by Louis Tu's avatar Louis Tu Committed by GitHub
Browse files

fix not-found service error (#10391)


Signed-off-by: default avatartu1h <lihai.tu@daocloud.io>
parent e573a2f6
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
state: stopped
enabled: no
when:
"'firewalld.service' in services"
"'firewalld.service' in services and services['firewalld.service'].status != 'not-found'"
- name: Disable service ufw
systemd:
......@@ -20,4 +20,4 @@
state: stopped
enabled: no
when:
"'ufw.service' in services"
"'ufw.service' in services and services['ufw.service'].status != 'not-found'"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment