Add openshift connection plugin, update inventory plugin to use it (#18)

This commit is contained in:
Fabian von Feilitzsch
2020-08-28 14:18:25 -04:00
committed by GitHub
parent 1b08450b19
commit 5a1396e54e
5 changed files with 184 additions and 3 deletions

View File

@@ -11,7 +11,13 @@ clean:
build: clean
ansible-galaxy collection build
install: build
install-kubernetes-src:
mkdir -p ansible_collections/community/kubernetes
rm -rf ansible_collections/community/kubernetes/*
curl -L https://github.com/ansible-collections/community.kubernetes/archive/main.tar.gz | tar -xz -C ansible_collections/community/kubernetes --strip-components 1
# TODO: Once we no longer rely on features in main we should drop the install-kubernetes-src dependency
install: build install-kubernetes-src
ansible-galaxy collection install -p ansible_collections community-okd-$(VERSION).tar.gz
test-sanity: install