From 2b55a81c7f542e87256c11ea9fd64bbaae4e77be Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 22 Aug 2022 23:22:40 +0200 Subject: [PATCH] Move wireguard peers --- .../{vars => group_vars/all}/vault.yaml | 0 .../all}/wireguard-peers.yaml | 0 coreos-config/playbook.yaml | 18 ------------------ 3 files changed, 18 deletions(-) rename coreos-config/{vars => group_vars/all}/vault.yaml (100%) rename coreos-config/{vars => group_vars/all}/wireguard-peers.yaml (100%) diff --git a/coreos-config/vars/vault.yaml b/coreos-config/group_vars/all/vault.yaml similarity index 100% rename from coreos-config/vars/vault.yaml rename to coreos-config/group_vars/all/vault.yaml diff --git a/coreos-config/vars/wireguard-peers.yaml b/coreos-config/group_vars/all/wireguard-peers.yaml similarity index 100% rename from coreos-config/vars/wireguard-peers.yaml rename to coreos-config/group_vars/all/wireguard-peers.yaml diff --git a/coreos-config/playbook.yaml b/coreos-config/playbook.yaml index d269dde..7f024bd 100644 --- a/coreos-config/playbook.yaml +++ b/coreos-config/playbook.yaml @@ -8,12 +8,6 @@ render_blacklist: - EMPTY tasks: - - name: Read Variables - include_vars: - dir: vars - extensions: - - 'yml' - - 'yaml' - file: state: absent dest: '{{ render_path }}' @@ -46,12 +40,6 @@ become: true become_user: root tasks: - - name: Read Variables - include_vars: - dir: vars - extensions: - - 'yml' - - 'yaml' - name: Install backup script ansible.builtin.template: src: backup.sh.j2 @@ -82,12 +70,6 @@ gather_facts: true tasks: - block: - - name: Read Variables - include_vars: - dir: vars - extensions: - - 'yml' - - 'yaml' - name: Install backup script ansible.builtin.template: src: restore.sh.j2