add basic ansible playbook for alpine setup
This commit is contained in:
parent
8caf2e826e
commit
79c8123c6f
7 changed files with 150 additions and 0 deletions
18
.justfile
Normal file
18
.justfile
Normal 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue