diff --git a/playbooks/groups/osbs-cluster.yml b/playbooks/groups/osbs-cluster.yml index c3cbc9af33..48a8626eec 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -480,11 +480,11 @@ - osbs-labels-nodes tasks: - name: Add the worker label - command: "oc -n {{ osbs_worker_namespace }} nodes {{ item }} worker=true --overwrite" + command: "oc -n {{ osbs_worker_namespace }} label nodes {{ item }} worker=true --overwrite" with_items: groups['osbs-nodes-stg'] - name: Add the orchestrator labels to the nodes - command: "oc -n {{ osbs_namespace }} nodes {{ item }} orchestrator=true --overwrite" + command: "oc -n {{ osbs_namespace }} label nodes {{ item }} orchestrator=true --overwrite" with_items: groups['osbs-nodes-stg'] - name: setup reactor config secret in orchestrator namespace