Browse Source

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.
pull/5858/head
Martin Zobel-Helas 4 years ago
committed by GitHub
parent
commit
b0a5f265e3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. 6
      contrib/metallb/metallb.yml

6
contrib/metallb/metallb.yml

@ -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 }
Loading…
Cancel
Save