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:
Martin Zobel-Helas
2020-03-30 10:11:53 +02:00
committed by GitHub
parent 8800eb3492
commit b0a5f265e3

View File

@ -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]
tags:
- "provision"
roles:
- { role: kubespray-defaults}
- { role: provision }