18 lines
373 B
Makefile
18 lines
373 B
Makefile
export ANSIBLE_VAULT_PASSWORD_FILE := "./.decrypt-pass.txt"
|
|
|
|
inventory := "./hosts/inventory.ini"
|
|
|
|
play +ARGS:
|
|
ansible-playbook -i {{ inventory }} {{ ARGS }}
|
|
|
|
ansible +ARGS:
|
|
ansible -i {{ inventory }} {{ ARGS }}
|
|
|
|
list-host:
|
|
ansible-inventory -i {{ inventory }} --list
|
|
|
|
encrypt +ARGS:
|
|
ansible-valut encrypt {{ ARGS }}
|
|
|
|
decrypt +ARGS:
|
|
ansible-vault edit {{ ARGS }}
|