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:
|
2022-06-19 12:51:37 +00:00
|
|
|
ansible-playbook site.yml -i production
|
2022-03-09 20:08:49 +00:00
|
|
|
|
|
|
|
deploy_staging:
|
2022-06-19 12:51:37 +00:00
|
|
|
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`
|