mirror of https://github.com/ansible/ansible.git
Backport/2.10/72390 (#72690)
* Return error if cwd directory does not exist (#72390)
* Return warning or error if cwd directory does not exist, in AnsibleModule.run_command()
(cherry picked from commit 5654de6fce
)
* added flag in run_command signature to control behaviour when cwd does not exist
pull/72904/head
parent
7f1ee07634
commit
71ef981191
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- basic.AnsibleModule - AnsibleModule.run_command silently ignores a non-existent directory in the ``cwd`` argument (https://github.com/ansible/ansible/pull/72390).
|
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- AnsibleModule - added arg ``ignore_invalid_cwd`` to ``AnsibleModule.run_command()``, to control its behaviour when ``cwd`` is invalid. (https://github.com/ansible/ansible/pull/72390)
|
Loading…
Reference in New Issue