ansible/makefile

13 lines
385 B
Makefile
Raw Normal View History

2022-03-05 13:56:54 +00:00
requirements:
ansible-galaxy install -g -f -r roles/requirements.yml
2022-03-09 20:08:49 +00:00
deploy_production:
ansible-playbook site.yml -i production --vault-password-file=./ansible-vault-pass.sh
deploy_staging:
ansible-playbook site.yml -i staging --vault-password-file=./ansible-vault-pass.sh
2022-03-11 09:55:04 +00:00
2022-06-06 11:32:15 +00:00
generate-token:
@echo export VAULT_TOKEN=`vault token create -policy=ansible -field="token" -period 6h`