1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/modules
Daniel Andrei Mincă 89d6c36584 Optimize file handling in the find module (#38192)
* Optimize file handling

Use the best practice of opening and doing operations on an opened file

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>

* Fix docstring to Sphinx type

- update the docstrings to Sphinx type, as suggested by Toshio
- Move the pattern object assignment outside the context manager, as
  suggested by Matt

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>
2018-04-10 09:01:44 -07:00
..
cloud Retry creation of tags when DHCP optionset is not found (#38528) 2018-04-10 09:08:41 -04:00
clustering consul_kv: decodes kv values from Consul to utf-8 (#35894) 2018-03-22 14:56:38 -07:00
commands Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
crypto openssl_certificate: Handle dump() in check_mode (#38386) 2018-04-09 09:26:02 +01:00
database Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
files Optimize file handling in the find module (#38192) 2018-04-10 09:01:44 -07:00
identity Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
inventory Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
messaging Check that output from list_vhosts can be split (#37630) 2018-03-22 13:03:20 -04:00
monitoring Fix authot github account 2018-04-09 14:31:31 -04:00
net_tools Corrected a parameter name (#38385) 2018-04-06 10:58:01 +02:00
network fix nxos_igmp issues (#38496) 2018-04-10 00:05:58 -04:00
notification Doc formatting update for office_365_connector_card.py (#38142) 2018-04-02 16:23:47 -05:00
packaging apt: allow for --allow-unauthenticated in upgrade (#38381) 2018-04-10 15:37:41 +02:00
remote_management manageiq_provider: don't send top-level null fields on creation (#38448) 2018-04-08 12:36:51 -04:00
source_control git_config: add quotes in complex value (#38168) 2018-04-02 19:09:39 -04:00
storage Added parameters to na_cdot_volume (#37202) 2018-03-16 15:14:06 -04:00
system remove duplicate declaration (#38449) 2018-04-08 22:24:32 +05:30
utilities Clarify the "refresh_inventory" meta task when using a dynamic inventory script (#37575) 2018-04-05 10:49:51 -07:00
web_infrastructure Replace the hard-coded temp path in gunicorn module (#38349) 2018-04-05 16:31:21 -04:00
windows fix for when status codes are provided as a comma separated list (#38080) 2018-04-10 12:25:08 +10:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00