mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
OSBS: fix the osbs_nodes_stg group name in a loop for the worker namespace too
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
85852c96cf
commit
edbc1d55dd
@@ -415,11 +415,11 @@
|
||||
tasks:
|
||||
- name: Add the worker label
|
||||
command: "oc -n {{ osbs_worker_namespace }} label nodes {{ item }} worker=true --overwrite"
|
||||
loop: "{{ groups['osbs-nodes-stg'] }}"
|
||||
loop: "{{ groups['osbs_nodes_stg'] }}"
|
||||
when: env == "staging"
|
||||
- name: Add the worker label
|
||||
command: "oc -n {{ osbs_worker_namespace }} label nodes {{ item }} worker=true --overwrite"
|
||||
loop: "{{ groups['osbs-nodes'] }}"
|
||||
loop: "{{ groups['osbs_nodes'] }}"
|
||||
when: env == "production"
|
||||
|
||||
- name: Add the worker labels to the nodes aarch64
|
||||
|
||||
Reference in New Issue
Block a user