From 7a6b87da6321b5865632e4b5a0bdbca9e0f68889 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 29 Oct 2023 18:47:36 +0100 Subject: [PATCH] Update wrong varname --- tasks/versioncheck.yml | 4 ++-- vars/main.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/versioncheck.yml b/tasks/versioncheck.yml index e660e3e..4d4b180 100644 --- a/tasks/versioncheck.yml +++ b/tasks/versioncheck.yml @@ -13,7 +13,7 @@ - name: Check playbook version become: true ansible.builtin.slurp: - src: "/etc/.ansible-version/{{ playbook_version_path }}" + src: "/etc/.ansible-version/{{ ntp__playbook_version_path }}" register: playbook_version when: submodules_versioncheck | bool failed_when: false @@ -38,7 +38,7 @@ become: true ansible.builtin.copy: content: "{{ playbook_version_number }}" - dest: "/etc/.ansible-version/{{ playbook_version_path }}" + dest: "/etc/.ansible-version/{{ ntp__playbook_version_path }}" mode: '0644' when: submodules_versioncheck | bool tags: skip_ansible_lint_template-instead-of-copy diff --git a/vars/main.yml b/vars/main.yml index 7e9239d..2873615 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,5 +1,5 @@ --- -playbook_version_number: 2059 +playbook_version_number: 2060 ntp__playbook_version_path: 'role-ntp_chaos-bodensee_github.com.version' ntp__vars: