From 4387cfe08e0975eba9034da60b8e72400670e224 Mon Sep 17 00:00:00 2001 From: hkcomori Date: Fri, 2 Aug 2024 22:08:50 +0900 Subject: [PATCH] Ignore `changed` for `ansible.builtin.tempfile` --- tasks/beta.yml | 1 + tasks/install-bin.yml | 1 + tasks/stable.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/tasks/beta.yml b/tasks/beta.yml index f0829a2..48672bc 100644 --- a/tasks/beta.yml +++ b/tasks/beta.yml @@ -7,3 +7,4 @@ mode: 0744 list_files: true creates: "{{ rclone_setup_tmp_dir.path }}/rclone-v{{ rclone_version }}-linux-{{ rclone_arch }}" + changed_when: False diff --git a/tasks/install-bin.yml b/tasks/install-bin.yml index 66955a8..cab73a8 100644 --- a/tasks/install-bin.yml +++ b/tasks/install-bin.yml @@ -19,6 +19,7 @@ ansible.builtin.tempfile: state: directory register: rclone_setup_tmp_dir + changed_when: False - name: Do beta install ansible.builtin.include_tasks: beta.yml diff --git a/tasks/stable.yml b/tasks/stable.yml index 60eda09..2be4afc 100644 --- a/tasks/stable.yml +++ b/tasks/stable.yml @@ -6,3 +6,4 @@ remote_src: true mode: 0744 creates: "{{ rclone_setup_tmp_dir.path }}/rclone-v{{ rclone_version }}-linux-{{ rclone_arch }}" + changed_when: False