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:
|
tasks:
|
||||||
- name: Add the worker label
|
- name: Add the worker label
|
||||||
command: "oc -n {{ osbs_worker_namespace }} label nodes {{ item }} worker=true --overwrite"
|
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"
|
when: env == "staging"
|
||||||
- name: Add the worker label
|
- name: Add the worker label
|
||||||
command: "oc -n {{ osbs_worker_namespace }} label nodes {{ item }} worker=true --overwrite"
|
command: "oc -n {{ osbs_worker_namespace }} label nodes {{ item }} worker=true --overwrite"
|
||||||
loop: "{{ groups['osbs-nodes'] }}"
|
loop: "{{ groups['osbs_nodes'] }}"
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
|
|
||||||
- name: Add the worker labels to the nodes aarch64
|
- name: Add the worker labels to the nodes aarch64
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue