koji_builder: syntax tweak

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-04-10 17:53:26 -07:00
parent 6af1918415
commit feb1bf9a97

View file

@ -389,9 +389,7 @@
- name: Install cron job to run osbuild api ip update script every minute.
ansible.builtin.template: src=osbuildapi-update.cron dest=/etc/cron.d/osbuildapi-update.cron mode=644
when:
- not nftables
- 'osbuild' in group_names
when: not nftables and 'osbuild' in group_names
tags:
- koji_builder
- koji_builder/osbuildapi
@ -412,9 +410,7 @@
- name: Install cron job to run osbuild api ip update script every minute. (nftables)
ansible.builtin.template: src=osbuildapi-update-nft.cron dest=/etc/cron.d/osbuildapi-update-nft.cron mode=644
when:
- nftables
- 'osbuild' in group_names
when: nftables and 'osbuild' in group_names
tags:
- koji_builder
- koji_builder/osbuildapi