diff --git a/playbooks/groups/osbs-cluster.yml b/playbooks/groups/osbs-cluster.yml index e425048d0d..3f32f16e54 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -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