From ead5431ebe521a938b3344ae75a553b8afa616fc Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Tue, 26 Sep 2023 11:57:18 +0200 Subject: [PATCH] Unify check_mode/changed_when for variable registrations --- tasks/ruby.yml | 1 + tasks/zammad.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tasks/ruby.yml b/tasks/ruby.yml index 06f6c92..a803b4a 100644 --- a/tasks/ruby.yml +++ b/tasks/ruby.yml @@ -20,6 +20,7 @@ path: "{{ ruby_path }}/versions/{{ ruby_version.stdout }}" register: ruby_installed changed_when: false + check_mode: false - name: "ruby installieren" command: diff --git a/tasks/zammad.yml b/tasks/zammad.yml index 885541e..0e555ff 100644 --- a/tasks/zammad.yml +++ b/tasks/zammad.yml @@ -29,6 +29,7 @@ ansible.builtin.command: cat "{{ zammad_home }}/.ruby-version" register: ruby_version changed_when: false + check_mode: false - name: "zammad | Kopiere Skripte" ansible.builtin.template: