Skip to content
Snippets Groups Projects
Commit eeffa60c authored by Chris Hines's avatar Chris Hines
Browse files

add check_mode tags to shell command and script tasks that should be run even...

add check_mode tags to shell command and script tasks that should be run even when checking (only do this if the task is known to not make system changes
parent 6529371c
No related branches found
No related tags found
1 merge request!108Check mode
......@@ -27,10 +27,12 @@
shell: rpm -q kernel-devel | cut -f 3,4 -d "-"
register: rpm_q_output
when: ansible_os_family=="RedHat"
check_mode: no
- name: get kernel version
shell: uname -r
register: uname_r_output
check_mode: no
- name: default dont reboot
set_fact:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment