Skip to content

Commit

Permalink
Remove ansible code in favor of external collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Jackson committed Sep 16, 2024
1 parent 369d693 commit 63f7ca5
Show file tree
Hide file tree
Showing 122 changed files with 7 additions and 8,431 deletions.
13 changes: 2 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ secrets-backend-none: ## Edits values files to remove secrets manager + ESO
.PHONY: load-iib
load-iib: ## CI target to install Index Image Bundles
@set -e; if [ x$(INDEX_IMAGES) != x ]; then \
ansible-playbook common/ansible/playbooks/iib-ci/iib-ci.yaml; \
ansible-playbook rhvp.cluster_utils.iib-ci; \
else \
echo "No INDEX_IMAGES defined. Bailing out"; \
exit 1; \
Expand Down Expand Up @@ -218,7 +218,7 @@ TEST_OPTS= -f values-global.yaml \
--set global.clusterVersion="4.12" \
--set global.clusterPlatform=aws \
--set "clusterGroup.imperative.jobs[0].name"="test" \
--set "clusterGroup.imperative.jobs[0].playbook"="ansible/test.yml"
--set "clusterGroup.imperative.jobs[0].playbook"="rhvp.cluster_utils.test"
PATTERN_OPTS=-f common/examples/values-example.yaml
EXECUTABLES=git helm oc ansible

Expand Down Expand Up @@ -260,15 +260,6 @@ super-linter: ## Runs super linter locally
-w /tmp/lint \
ghcr.io/super-linter/super-linter:slim-v7

.PHONY: ansible-lint
ansible-lint: ## run ansible lint on ansible/ folder
podman run -it -v $(PWD):/workspace:rw,z --workdir /workspace --env ANSIBLE_CONFIG=./ansible/ansible.cfg \
--entrypoint "/usr/local/bin/ansible-lint" quay.io/ansible/creator-ee:latest "-vvv" "ansible/"

.PHONY: ansible-unittest
ansible-unittest: ## run ansible unit tests
pytest -r a --fulltrace --color yes ansible/tests/unit/test_*.py

.PHONY: deploy upgrade legacy-deploy legacy-upgrade
deploy upgrade legacy-deploy legacy-upgrade:
@echo "UNSUPPORTED TARGET: please switch to 'operator-deploy'"; exit 1
6 changes: 0 additions & 6 deletions ansible/ansible.cfg

This file was deleted.

53 changes: 0 additions & 53 deletions ansible/playbooks/acm/acmhub-get-ca.yaml

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions ansible/playbooks/hello-world/hello-world.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions ansible/playbooks/iib-ci/iib-ci.yaml

This file was deleted.

46 changes: 0 additions & 46 deletions ansible/playbooks/iib-ci/lookup.yml

This file was deleted.

9 changes: 0 additions & 9 deletions ansible/playbooks/k8s_secrets/k8s_secrets.yml

This file was deleted.

29 changes: 0 additions & 29 deletions ansible/playbooks/process_secrets/display_secrets_info.yml

This file was deleted.

50 changes: 0 additions & 50 deletions ansible/playbooks/process_secrets/process_secrets.yml

This file was deleted.

9 changes: 0 additions & 9 deletions ansible/playbooks/vault/vault.yaml

This file was deleted.

Loading

0 comments on commit 63f7ca5

Please sign in to comment.