13 lines
385 B
Makefile
13 lines
385 B
Makefile
|
|
requirements:
|
|
ansible-galaxy install -g -f -r roles/requirements.yml
|
|
|
|
deploy_production:
|
|
ansible-playbook site.yml -i production --vault-password-file=./ansible-vault-pass.sh
|
|
|
|
deploy_staging:
|
|
ansible-playbook site.yml -i staging --vault-password-file=./ansible-vault-pass.sh
|
|
|
|
generate-token:
|
|
@echo export VAULT_TOKEN=`vault token create -policy=ansible -field="token" -period 6h`
|