ansible/makefile

13 lines
295 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
2022-03-09 20:08:49 +00:00
deploy_staging:
ansible-playbook site.yml -i staging
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`