Fix ansible_galaxy target references

This commit is contained in:
IamTheFij 2022-11-10 10:18:02 -08:00
parent 51a0b71bd8
commit 0e0d2bbcc6

View File

@ -44,7 +44,6 @@ ansible_galaxy/ansible_collections: $(VENV) ./ansible_galaxy/requirements.yml
ansible_galaxy/roles: $(VENV) ./ansible_galaxy/requirements.yml ansible_galaxy/roles: $(VENV) ./ansible_galaxy/requirements.yml
$(VENV)/bin/ansible-galaxy install -p ./ansible_galaxy/roles -r ./ansible_roles/requirements.yml $(VENV)/bin/ansible-galaxy install -p ./ansible_galaxy/roles -r ./ansible_roles/requirements.yml
.PHONY: ansible-cluster .PHONY: ansible-cluster
ansible-cluster: $(VENV) ansible_galaxy ansible-cluster: $(VENV) ansible_galaxy
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -K -vv \ env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -K -vv \
@ -52,13 +51,13 @@ ansible-cluster: $(VENV) ansible_galaxy
./ansible_playbooks/setup-cluster.yml ./ansible_playbooks/setup-cluster.yml
.PHONY: bootstrap-values .PHONY: bootstrap-values
bootstrap-values: $(VENV) galaxy bootstrap-values: $(VENV) ansible_galaxy
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -vv \ env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -vv \
-e "@vault-keys.json" \ -e "@vault-keys.json" \
./ansible_playbooks/bootstrap-values.yml ./ansible_playbooks/bootstrap-values.yml
.PHONY: unseal-vault .PHONY: unseal-vault
unseal-vault: $(VENV) galaxy unseal-vault: $(VENV) ansible_galaxy
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -K -vv \ env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -K -vv \
-e "@vault-keys.json" \ -e "@vault-keys.json" \
./ansible_playbooks/unseal-vault.yml ./ansible_playbooks/unseal-vault.yml