2022-06-19 10:38:23 +00:00
|
|
|
|
|
|
|
requirements:
|
2022-11-01 19:41:27 +00:00
|
|
|
ansible-galaxy install -g -r roles/requirements.yml
|
2022-06-19 10:38:23 +00:00
|
|
|
|
|
|
|
deploy_production:
|
|
|
|
ansible-playbook site.yml -i production
|
|
|
|
|
|
|
|
deploy_staging:
|
|
|
|
ansible-playbook site.yml -i staging
|
|
|
|
|
|
|
|
generate-token:
|
|
|
|
@echo export VAULT_TOKEN=`vault token create -policy=ansible -field="token" -period 6h`
|
2022-10-30 17:18:58 +00:00
|
|
|
|
|
|
|
|
2022-11-01 19:41:27 +00:00
|
|
|
create-dev: requirements
|
|
|
|
PY_COLORS=1 molecule converge
|
2022-10-30 17:18:58 +00:00
|
|
|
|
|
|
|
destroy-dev:
|
2022-11-01 19:41:27 +00:00
|
|
|
PY_COLORS=1 molecule destroy
|