From da97057eb9d4e2689956cee521bca5ae79f0ebf6 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 10 Feb 2023 18:19:09 -0300 Subject: [PATCH] feat: inventory is stored separately --- Makefile | 6 +++--- inventory.yml | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 inventory.yml diff --git a/Makefile b/Makefile index 1898233..236d5e5 100644 --- a/Makefile +++ b/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 diff --git a/inventory.yml b/inventory.yml deleted file mode 100644 index 6dd8fd6..0000000 --- a/inventory.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -alpines: - hosts: - your.host.name: -dockers: - hosts: