OSBS: fix the osbs_nodes_stg group name in a loop
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
f0a24a152b
commit
428fab2bde
1 changed files with 2 additions and 2 deletions
|
@ -400,12 +400,12 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: Add the orchestrator labels to the nodes
|
- name: Add the orchestrator labels to the nodes
|
||||||
command: "oc -n {{ osbs_namespace }} label nodes {{ item }} orchestrator=true --overwrite"
|
command: "oc -n {{ osbs_namespace }} label nodes {{ item }} orchestrator=true --overwrite"
|
||||||
loop: "{{ groups['osbs-nodes-stg'] }}"
|
loop: "{{ groups['osbs_nodes_stg'] }}"
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
- name: Add the orchestrator labels to the nodes
|
- name: Add the orchestrator labels to the nodes
|
||||||
command: "oc -n {{ osbs_namespace }} label nodes {{ item }} orchestrator=true --overwrite"
|
command: "oc -n {{ osbs_namespace }} label nodes {{ item }} orchestrator=true --overwrite"
|
||||||
loop: "{{ groups['osbs-nodes'] }}"
|
loop: "{{ groups['osbs_nodes'] }}"
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
|
|
||||||
- name: Add the worker labels to the nodes x86_64
|
- name: Add the worker labels to the nodes x86_64
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue