Skip to content
Snippets Groups Projects
Commit 4cc080c8 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


Former-commit-id: eeffa60c
parent e3f75b62
No related branches found
No related tags found
No related merge requests found
......@@ -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