Add ArcadiaMC group and host

This commit is contained in:
Christer Warén 2024-12-16 14:45:19 +02:00
parent 2c3303ac1c
commit 1b0a05421e
6 changed files with 24 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[defaults]
inventory = inventories/xxx
inventory = inventories/matte
hash_behaviour = merge
gathering = smart
transport = local

View File

View File

@ -0,0 +1,6 @@
$ANSIBLE_VAULT;1.2;AES256;matte
62346136653335363162326162383931386537613938323936313137303431373664326165613562
3833613232666134346465313164393265313866396438640a396463376165633535636261656161
65666130663862303234623932643131353539623635306266663330626666383533363039653737
3736626335343832360a373961343766633963363766393333396366343737333630636531646362
6564

View File

@ -0,0 +1,6 @@
$ANSIBLE_VAULT;1.2;AES256;matte
65326434306632636332646164346332366430303930656231353538613062323762303131346630
3264653933373331373638363134633562643932326333660a393065303336306162373733316634
61333437313261393336353235323862353538386563356132393532623439383231653665323163
3665323733306635640a353366346639346133646331653637353530653431623132343932616465
3466

View File

@ -0,0 +1,9 @@
---
matte:
children:
arcadiamc:
hosts:
rainbow.devices.waren.io:
vars:
ansible_user: wxl62975
ansible_ssh_common_args: "-o StrictHostKeyChecking=accept-new -o LogLevel=error"

View File

@ -10,12 +10,12 @@ action=$1
encrypt() {
echo "${underline}Encrypting...${nounderline}"
execute "ansible-vault encrypt --vault-id default@vault/mkj"
execute "ansible-vault encrypt --vault-id matte@vault/matte"
}
decrypt() {
echo "${underline}Decrypting...${nounderline}"
execute "ansible-vault decrypt --vault-id default@vault/mkj"
execute "ansible-vault decrypt --vault-id matte@vault/matte"
}
list() {