Honor bastion host config from inventary (#5522)
Before this commit, the bastion entry in the inventary was not honored, so machines behind firewalls or with unrouted addresses were not reachable for ansible.
This commit is contained in:
parent
8800eb3492
commit
b0a5f265e3
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
||||||
---
|
---
|
||||||
|
- hosts: bastion[0]
|
||||||
|
gather_facts: False
|
||||||
|
roles:
|
||||||
|
- { role: kubespray-defaults}
|
||||||
|
- { role: bastion-ssh-config, tags: ["localhost", "bastion"]}
|
||||||
- hosts: kube-master[0]
|
- hosts: kube-master[0]
|
||||||
tags:
|
tags:
|
||||||
- "provision"
|
- "provision"
|
||||||
roles:
|
roles:
|
||||||
|
- { role: kubespray-defaults}
|
||||||
- { role: provision }
|
- { role: provision }
|
||||||
|
|
Loading…
Reference in a new issue