Skip to content
Snippets Groups Projects
Commit 6e2052c5 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Merge branch 'fix-node-exporter-firewall-restart-condition' into 'feat-hpc-factory'

fix: restart firewalld only when it was running

See merge request !188
parents 55cae529 815ced55
No related branches found
No related tags found
No related merge requests found
......@@ -77,3 +77,6 @@
name: firewalld
enabled: true
state: restarted
when:
- "'firewalld.service' in ansible_facts.services"
- ansible_facts.services["firewalld.service"].state == "running"
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