Role can be fully called in check mode
parent
cbdfc741ba
commit
3ae791ec47
|
@ -21,6 +21,7 @@
|
|||
executable: /bin/sh
|
||||
register: nginx_version
|
||||
changed_when: false
|
||||
check_mode: no
|
||||
|
||||
- name: SHELL | Get module list
|
||||
shell: nginx -V 2>&1 | tr -- - '\n' | grep -A 1 with | grep _module | sed -r 's/_module//g; s/\s+//g' | sort
|
||||
|
@ -28,6 +29,7 @@
|
|||
executable: /bin/sh
|
||||
register: shell_modules
|
||||
changed_when: false
|
||||
check_mode: no
|
||||
|
||||
- name: SET_FACT | Save modules
|
||||
set_fact:
|
||||
|
|
|
@ -49,4 +49,4 @@
|
|||
register: job_result
|
||||
until: job_result.finished
|
||||
retries: 30
|
||||
when: nginx_dh is not string
|
||||
when: not ansible_check_mode and nginx_dh is not string
|
||||
|
|
Loading…
Reference in New Issue