custom makefile

This commit is contained in:
vincent 2022-11-01 20:41:27 +01:00
parent 15f4dd762b
commit d8e2e5b822
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
requirements: requirements:
ansible-galaxy install -g -f -r roles/requirements.yml ansible-galaxy install -g -r roles/requirements.yml
deploy_production: deploy_production:
ansible-playbook site.yml -i production ansible-playbook site.yml -i production
@ -12,8 +12,8 @@ generate-token:
@echo export VAULT_TOKEN=`vault token create -policy=ansible -field="token" -period 6h` @echo export VAULT_TOKEN=`vault token create -policy=ansible -field="token" -period 6h`
create-dev: create-dev: requirements
molecule converge PY_COLORS=1 molecule converge
destroy-dev: destroy-dev:
molecule destroy PY_COLORS=1 molecule destroy

View File

@ -17,5 +17,5 @@ create-dev:
destroy-dev: destroy-dev:
make -C ansible destroy-dev make -C ansible destroy-dev
docs docs:
mkdocs server mkdocs serve