community.general/lib/ansible/modules
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
..
cloud Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
clustering Add pacemaker cluster module for being managable with ansible (#19594) 2017-01-03 15:50:00 +00:00
commands Use to_text instead of str and decode 2017-01-25 14:02:48 -08:00
crypto Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
database Support forced SSL-verified connection with given CA certificate 2017-01-16 12:17:10 -08:00
files Removing an non-existing directory complains (#19014) 2017-01-27 14:58:31 -08:00
identity minor spelling changes 2016-12-13 13:51:13 -05:00
inventory
messaging Fix code-blocks to use correct syntax highlighting 2017-01-08 09:18:45 -08:00
monitoring Add logstash_plugin to manange logstash plugins (#20592) 2017-01-24 15:52:51 +00:00
network Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
notification add message_attributes support to sns. 2017-01-27 14:20:26 -05:00
packaging Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
remote_management - If katello sends manifest did not change, do not report a change. - Allow support of repository_sets that do not have a releasever, like the Red Hat Satellite Tools 6.2 for RHEL 7 Server RPMs x86_64 set. (#19022) 2017-01-19 09:19:19 -08:00
source_control Fix git remote url change detection. (#20587) 2017-01-23 16:09:42 -08:00
storage Add doc_fragment and module util for NetApp platforms (#19607) 2017-01-25 09:51:57 +00:00
system Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
utilities add variable precedence warning to set_fact documentation. (#20774) 2017-01-27 16:18:58 -05:00
web_infrastructure Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
windows Feature/win stat extra info (#19148) 2017-01-27 14:51:12 -08:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00