From f3972258624ca183ec2085085d63af32ce4b3b52 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 3 Sep 2022 02:21:14 +1200 Subject: [PATCH] reorganize for vault --- .gitignore | 2 +- ansible/inventory/host_vars/{ => lab}/lab.yaml | 1 - ansible/inventory/host_vars/{ => server}/server.yaml | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename ansible/inventory/host_vars/{ => lab}/lab.yaml (78%) rename ansible/inventory/host_vars/{ => server}/server.yaml (100%) diff --git a/.gitignore b/.gitignore index 4aa0e19..83f7a8a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ ansible/vault_password -ansible/inventory/group_vars/vault.yml \ No newline at end of file +ansible/inventory/host_vars/*/vault.yml \ No newline at end of file diff --git a/ansible/inventory/host_vars/lab.yaml b/ansible/inventory/host_vars/lab/lab.yaml similarity index 78% rename from ansible/inventory/host_vars/lab.yaml rename to ansible/inventory/host_vars/lab/lab.yaml index e501342..8cb132e 100644 --- a/ansible/inventory/host_vars/lab.yaml +++ b/ansible/inventory/host_vars/lab/lab.yaml @@ -4,7 +4,6 @@ ansible_user: ladmin ansible_become_user: root -ansible_become_pass: "{{ lab_become_password }}" ansible_os_family: Arch # sshd diff --git a/ansible/inventory/host_vars/server.yaml b/ansible/inventory/host_vars/server/server.yaml similarity index 100% rename from ansible/inventory/host_vars/server.yaml rename to ansible/inventory/host_vars/server/server.yaml