2022-06-19 12:38:23 +02:00
|
|
|
|
|
|
|
requirements:
|
2022-11-01 20:41:27 +01:00
|
|
|
ansible-galaxy install -g -r roles/requirements.yml
|
2022-06-19 12:38:23 +02: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 18:18:58 +01:00
|
|
|
|
|
|
|
|
2022-11-01 20:41:27 +01:00
|
|
|
create-dev: requirements
|
|
|
|
PY_COLORS=1 molecule converge
|
2022-10-30 18:18:58 +01:00
|
|
|
|
|
|
|
destroy-dev:
|
2022-11-01 20:41:27 +01:00
|
|
|
PY_COLORS=1 molecule destroy
|