Merge "ironic: only bootstrap ironic-tftp when service is enabled"

This commit is contained in:
Zuul 2024-01-24 23:41:31 +00:00 committed by Gerrit Code Review
commit d690177e58
1 changed files with 3 additions and 1 deletions

View File

@ -64,4 +64,6 @@
name: "bootstrap_ironic_tftp"
restart_policy: oneshot
volumes: "{{ ironic_tftp.volumes }}"
when: inventory_hostname in groups[ironic_tftp.group]
when:
- inventory_hostname in groups[ironic_tftp.group]
- ironic_tftp.enabled | bool