Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Commit 6481372

Browse files
paulfantomThomas Scully
andauthored
Run preflight tasks to register variables when check_mode is enabled (#117)
Co-authored-by: Thomas Scully <[email protected]>
1 parent 723a286 commit 6481372

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/preflight.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
stat:
3232
path: "/usr/local/bin/node_exporter"
3333
register: __node_exporter_is_installed
34+
check_mode: false
3435
tags:
3536
- node_exporter_install
3637

@@ -40,6 +41,7 @@
4041
warn: false
4142
changed_when: false
4243
register: __node_exporter_current_version_output
44+
check_mode: false
4345
when: __node_exporter_is_installed.stat.exists
4446
tags:
4547
- node_exporter_install

0 commit comments

Comments
 (0)