From b0a5f265e3295be2dc96d33962b6f6e05d474e26 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Mon, 30 Mar 2020 10:11:53 +0200 Subject: [PATCH] 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. --- contrib/metallb/metallb.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/metallb/metallb.yml b/contrib/metallb/metallb.yml index 618a1d223..b7353ced7 100644 --- a/contrib/metallb/metallb.yml +++ b/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 }