Browse Source

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>
pull/837/head
Bogdan Dobrelya 8 years ago
parent
commit
ff8cb46bb9
1 changed files with 5 additions and 4 deletions
  1. 9
      cluster.yml

9
cluster.yml

@ -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: all
- hosts: k8s-cluster:etcd:calico-rr
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…
Cancel
Save