17 lines
350 B
Makefile
17 lines
350 B
Makefile
|
|
requirements:
|
|
ansible-galaxy install -g -r roles/requirements.yml
|
|
|
|
deploy_production:
|
|
ansible-playbook site.yml -i production -u ansible
|
|
|
|
generate-token:
|
|
@echo export VAULT_TOKEN=`vault token create -policy=ansible -field="token" -period 6h`
|
|
|
|
|
|
create-dev: requirements
|
|
PY_COLORS=1 molecule converge
|
|
|
|
destroy-dev:
|
|
PY_COLORS=1 molecule destroy
|