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:
parent
85852c96cf
commit
edbc1d55dd
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue