From 3eab68bf0ddfdd02ef75d91ec6c010e19d06732d Mon Sep 17 00:00:00 2001 From: Maxim Vershinin Date: Mon, 6 Jul 2026 11:34:52 +0000 Subject: [PATCH] FIX: all data from /data is moved to inventory/ --- .gitignore | 2 +- {data => inventory/group_vars/all}/secrets template.yaml | 0 run_playbook.sh | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename {data => inventory/group_vars/all}/secrets template.yaml (100%) diff --git a/.gitignore b/.gitignore index 01d546b..fb4e5e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ # ---> Ansible *.retry -data/secret/ \ No newline at end of file +inventory/group_vars/all/secret/ \ No newline at end of file diff --git a/data/secrets template.yaml b/inventory/group_vars/all/secrets template.yaml similarity index 100% rename from data/secrets template.yaml rename to inventory/group_vars/all/secrets template.yaml diff --git a/run_playbook.sh b/run_playbook.sh index 22a73f0..8d7bf90 100755 --- a/run_playbook.sh +++ b/run_playbook.sh @@ -1,4 +1,4 @@ #!/bin/sh ansible-playbook -i inventory/hosts.yaml playbooks/deploy.yaml \ - --private-key data/secret/ansible_key \ - --vault-password-file data/secret/.vault_pass \ No newline at end of file + --private-key inventory/group_vars/all/secret/ansible_key \ + --vault-password-file inventory/group_vars/all/secret/.vault_pass \ No newline at end of file