feat: inventory is stored separately
This commit is contained in:
parent
f20fa66e6a
commit
da97057eb9
2 changed files with 3 additions and 9 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
alpines:
|
||||
hosts:
|
||||
your.host.name:
|
||||
dockers:
|
||||
hosts:
|
Loading…
Reference in a new issue