Rework wildcards matching all nodes
* Re-enable ansible_ssh_pipelining as expected for the cluster.yml * Do not use 'all' wildcasts for hosts, limit only to k8s-cluster, etcd, calico-rr groups instead. Other nodes in inventory are out of Kargo scope and it's up to users how to manage them. Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
This commit is contained in:
parent
399cb9707a
commit
ff8cb46bb9
1 changed files with 5 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
||||||
- bastion-ssh-config
|
- bastion-ssh-config
|
||||||
tags: [localhost, bastion]
|
tags: [localhost, bastion]
|
||||||
|
|
||||||
- hosts: all
|
- hosts: k8s-cluster:etcd:calico-rr
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars:
|
vars:
|
||||||
|
@ -17,12 +17,13 @@
|
||||||
tags:
|
tags:
|
||||||
- bootstrap-os
|
- bootstrap-os
|
||||||
|
|
||||||
|
- hosts: k8s-cluster:etcd:calico-rr
|
||||||
- hosts: all
|
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
vars:
|
||||||
|
ansible_ssh_pipelining: true
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
|
|
||||||
- hosts: all:!network-storage:!bastion
|
- hosts: k8s-cluster:etcd:calico-rr
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
roles:
|
roles:
|
||||||
- { role: kubernetes/preinstall, tags: preinstall }
|
- { role: kubernetes/preinstall, tags: preinstall }
|
||||||
|
|
Loading…
Reference in a new issue