diff --git a/build/images/spray-job/Dockerfile b/build/images/spray-job/Dockerfile index b4cd13053..d79b3d3e3 100644 --- a/build/images/spray-job/Dockerfile +++ b/build/images/spray-job/Dockerfile @@ -10,3 +10,5 @@ COPY playbooks/ /kubespray/ # Add extra python packages and collections needed for the playbooks RUN python3 -m pip install toml RUN ansible-galaxy collection install sivel.toiletwater + +RUN ln -s playbooks/facts.yml facts.yml diff --git a/pkg/util/entrypoint/entrypoint.go b/pkg/util/entrypoint/entrypoint.go index ea053fffe..ffb0d6772 100644 --- a/pkg/util/entrypoint/entrypoint.go +++ b/pkg/util/entrypoint/entrypoint.go @@ -18,6 +18,7 @@ const ( PBAction = "playbook" SHAction = "shell" + FactsPB = "facts.yml" ResetPB = "reset.yml" ScalePB = "scale.yml" ClusterPB = "cluster.yml" @@ -65,7 +66,7 @@ func NewActions() *Actions { actions.Types = []string{PBAction, SHAction} actions.Playbooks = &Playbooks{} actions.Playbooks.List = []string{ - ResetPB, ScalePB, ClusterPB, RemoveNodePB, UpgradeClusterPB, + FactsPB, ResetPB, ScalePB, ClusterPB, RemoveNodePB, UpgradeClusterPB, PingPB, RepoPB, FirewallPB, KubeconfigPB, ClusterInfoPB, UpdateHostsPB, RemovePkgsPB, PreCheckPB, RenewCertsPB, KubeVipConfigPB, ConfigInsecureRegistryPB, NfConntrackPB, MountXFSPquotaPB,