community.general/lib/ansible
Dag Wieers a657572240 Removing an non-existing directory complains (#19014)
The following playbook:

```yaml
- hosts: localhost
  tasks:
  - file:
      path: /tmp/non-existing-foo-bar
      state: absent
      recurse: yes
```

causes this error:

```
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "recurse option requires state to be 'directory'", "path": "/tmp/non-existing-foo-bar", "state": "absent"}
```

The included fix ensures that when recurse is added, we no longer assume
it is a file, but accept that it is a directory.
2017-01-27 14:58:31 -08:00
..
cli Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
compat Fix role completion detection problem 2017-01-03 14:32:44 -06:00
config
errors adds feature to all modules to be run locally (#18763) 2016-12-15 15:47:29 -05:00
executor Fixing iterator bug related to reworking of end-of-role detection 2017-01-19 10:10:07 -06:00
galaxy Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
inventory Fix linenos being wrong in inventory errors 2017-01-19 08:40:20 -08:00
module_utils Feature/win stat extra info (#19148) 2017-01-27 14:51:12 -08:00
modules Removing an non-existing directory complains (#19014) 2017-01-27 14:58:31 -08:00
parsing Add representer to AnsibleDumper for AnsibleUnsafeText 2017-01-19 10:10:07 -06:00
playbook Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
plugins Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
template Don't restrict local jinja2 variables to those that start with l_ 2017-01-20 07:15:51 -06:00
utils updates eos shared modules (#20738) 2017-01-26 23:33:07 -05:00
vars Fixing another corner case for security related to CVE-2016-9587 2017-01-11 15:52:58 -06:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Add pipeline-ish method using dd for file transfer over SSH (#18642) 2017-01-19 12:31:14 -05:00
release.py Bumping devel version to 2.3.0 2016-10-03 11:46:31 -05:00
test-requirements.txt Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00