From 08541101b701ff371854decddb6439699f26d1bf Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 3 Sep 2022 01:39:38 +1200 Subject: [PATCH] move vars folders --- ansible/ansible.cfg | 2 +- ansible/{ => inventory}/group_vars/all.yaml | 0 ansible/{ => inventory}/host_vars/lab.yaml | 0 ansible/{ => inventory}/host_vars/server.yaml | 0 ansible/inventory/{hosts.yaml => inventory.yaml} | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename ansible/{ => inventory}/group_vars/all.yaml (100%) rename ansible/{ => inventory}/host_vars/lab.yaml (100%) rename ansible/{ => inventory}/host_vars/server.yaml (100%) rename ansible/inventory/{hosts.yaml => inventory.yaml} (100%) diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 05a630a..ebef9f1 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -inventory = ./inventory/hosts.yaml +inventory = ./inventory/inventory.yaml jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n library = modules module_utils = module_utils diff --git a/ansible/group_vars/all.yaml b/ansible/inventory/group_vars/all.yaml similarity index 100% rename from ansible/group_vars/all.yaml rename to ansible/inventory/group_vars/all.yaml diff --git a/ansible/host_vars/lab.yaml b/ansible/inventory/host_vars/lab.yaml similarity index 100% rename from ansible/host_vars/lab.yaml rename to ansible/inventory/host_vars/lab.yaml diff --git a/ansible/host_vars/server.yaml b/ansible/inventory/host_vars/server.yaml similarity index 100% rename from ansible/host_vars/server.yaml rename to ansible/inventory/host_vars/server.yaml diff --git a/ansible/inventory/hosts.yaml b/ansible/inventory/inventory.yaml similarity index 100% rename from ansible/inventory/hosts.yaml rename to ansible/inventory/inventory.yaml