From d49f0cdf218d2f2408cde0d9bd737e4cceff392b Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Thu, 10 May 2018 21:01:32 +0200 Subject: [PATCH] Add the missing label command Signed-off-by: Clement Verna --- playbooks/groups/osbs-cluster.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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