mirror of https://github.com/ansible/ansible.git
* 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 task
(cherry picked from commit c9086061ca)
pull/83024/head
parent
9b77492e96
commit
edbb6d1d59
@ -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