Maybe this should be using a loop
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
d49f0cdf21
commit
219b2d78b9
1 changed files with 2 additions and 2 deletions
|
@ -481,11 +481,11 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: Add the worker label
|
- name: Add the worker label
|
||||||
command: "oc -n {{ osbs_worker_namespace }} label nodes {{ item }} worker=true --overwrite"
|
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
|
- name: Add the orchestrator labels to the nodes
|
||||||
command: "oc -n {{ osbs_namespace }} label nodes {{ item }} orchestrator=true --overwrite"
|
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
|
- name: setup reactor config secret in orchestrator namespace
|
||||||
hosts: osbs-masters-stg[0]
|
hosts: osbs-masters-stg[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue