add basic ansible playbook for alpine setup

This commit is contained in:
Alexander Navarro 2024-11-28 16:52:27 -03:00
parent 8caf2e826e
commit 79c8123c6f
7 changed files with 150 additions and 0 deletions

18
.justfile Normal file
View file

@ -0,0 +1,18 @@
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 }}