From 219b2d78b9a95a40a6e96c23195dfb27d099c7cc Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Thu, 10 May 2018 21:09:45 +0200 Subject: [PATCH] Maybe this should be using a loop 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 48a8626eec..ca4e0804ba 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -481,11 +481,11 @@ tasks: - name: Add the worker label command: "oc -n {{ osbs_worker_namespace }} label nodes {{ item }} worker=true --overwrite" - with_items: groups['osbs-nodes-stg'] + loop: "{{ groups['osbs-nodes-stg'] }}" - name: Add the orchestrator labels to the nodes command: "oc -n {{ osbs_namespace }} label nodes {{ item }} orchestrator=true --overwrite" - with_items: groups['osbs-nodes-stg'] + loop: "{{ groups['osbs-nodes-stg'] }}" - name: setup reactor config secret in orchestrator namespace hosts: osbs-masters-stg[0]