Add the missing label command
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
c180d0a679
commit
d49f0cdf21
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue