Skip to content

Commit 41e2c3c

Browse files
committed
fix: Do not report changed for removed temp dir in check mode
This is not an actual change to the target system, so Ansible should not report a change here in check mode. On creation of the temporary directory we're using the exact same task configuration.
1 parent 886db76 commit 41e2c3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/config-runners-container.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@
4141
ansible.builtin.file:
4242
path: "{{ temp_runner_config_dir.path }}"
4343
state: "absent"
44+
check_mode: false
45+
changed_when: false

0 commit comments

Comments
 (0)