Add the missing label command

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2018-05-10 21:01:32 +02:00
parent c180d0a679
commit d49f0cdf21

View file

@ -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