mirror of https://github.com/ansible/ansible.git
Allow check mode async task disabling check_mode (#82827)
* Allow check mode async task disabling check_mode Allows running an async task with check_mode: False when the playbook is being run in check mode. * Add check_mode attribute to internal cleanup taskpull/82868/head
parent
56fa630e47
commit
c9086061ca
@ -0,0 +1,4 @@
|
||||
bugfixes:
|
||||
- >-
|
||||
async - Fix bug that stopped running async task in ``--check`` when ``check_mode: False`` was set as a task attribute
|
||||
- https://github.com/ansible/ansible/issues/82811
|
@ -0,0 +1,8 @@
|
||||
- hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Async in check mode task disabled test
|
||||
command: sleep 5
|
||||
async: 6
|
||||
poll: 1
|
||||
check_mode: False
|
Loading…
Reference in New Issue