Skip to content
Snippets Groups Projects
Commit ffa9c307 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "zun: Use assert on checks for readability"

parents df12f2ce 8d29f071
No related branches found
No related tags found
No related merge requests found
......@@ -50,10 +50,9 @@
- inventory_hostname in groups['zun-cni-daemon']
- name: Ensure kuryr enabled for zun
fail:
msg: "kuryr is required but not enabled"
assert:
that: enable_kuryr | bool
fail_msg: "kuryr is required but not enabled"
run_once: True
changed_when: false
when:
- enable_zun | bool
- not enable_kuryr | bool
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