feat: inventory is stored separately

This commit is contained in:
f 2023-02-10 18:19:09 -03:00
parent f20fa66e6a
commit da97057eb9
2 changed files with 3 additions and 9 deletions

View file

@ -3,13 +3,13 @@ size ?= 256
# Password
password ?= $(shell pwgen -1s $(size))
alpines: inventory.yml
alpines: inventory/inventory.yml
ansible-playbook -i $< --vault-pass-file vault.key alpines.yml
dockers: inventory.yml
dockers: inventory/inventory.yml
ansible-playbook -i $< --vault-pass-file vault.key dockers.yml
inventory: inventory.yml
inventory: inventory/inventory.yml
ansible-inventory -i $< --list
encrypt-string: vault.key

View file

@ -1,6 +0,0 @@
---
alpines:
hosts:
your.host.name:
dockers:
hosts: