mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-09 20:19:24 -02:30
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:
committed by
GitHub
parent
8800eb3492
commit
b0a5f265e3
@@ -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 }
|
||||||
|
|||||||
Reference in New Issue
Block a user