OSBS: fix the osbs_nodes_stg group name in a loop

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2019-10-23 11:34:36 +02:00 committed by Pierre-Yves Chibon
parent f0a24a152b
commit 428fab2bde

View file

@ -400,12 +400,12 @@
tasks:
- name: Add the orchestrator labels to the nodes
command: "oc -n {{ osbs_namespace }} label nodes {{ item }} orchestrator=true --overwrite"
loop: "{{ groups['osbs-nodes-stg'] }}"
loop: "{{ groups['osbs_nodes_stg'] }}"
when: env == "staging"
- name: Add the orchestrator labels to the nodes
command: "oc -n {{ osbs_namespace }} label nodes {{ item }} orchestrator=true --overwrite"
loop: "{{ groups['osbs-nodes'] }}"
loop: "{{ groups['osbs_nodes'] }}"
when: env == "production"
- name: Add the worker labels to the nodes x86_64