Skip to content

Commit

Permalink
Add definition check of disable_service_firewall (kubernetes-sigs#7995)
Browse files Browse the repository at this point in the history
When not specifying disable_service_firewall, the task is failed.
This adds the definition check.
  • Loading branch information
oomichi authored Sep 24, 2021
1 parent 22017b7 commit 469b3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/os-services/roles/prepare/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
"'ufw.service' in services"

when:
- disable_service_firewall
- disable_service_firewall is defined and disable_service_firewall

0 comments on commit 469b3ec

Please sign in to comment.