ansible/lib/ansible
Rick Elrod 8a0abed1ba [hostname] don't write in get_*() methods
Change:
- Hostname strategies' get_*() methods should never write to the
  filesystem. They are used in check_mode by default to determine if
  there is any work to be done.

Test Plan:
- New unit tests to ensure that (at least when in check_mode) the get
  methods don't ever call write.

Tickets:
- Fixes #66432

Signed-off-by: Rick Elrod <rick@elrod.me>
2021-05-27 13:15:52 +02:00
..
_vendor Rename to ansible-core (#72594) 2020-11-13 15:42:10 -06:00
cli Better handling of rstisms in ansible-doc (#74596) 2021-05-11 11:31:20 -04:00
collections saner path dir management (#72648) 2020-12-14 19:30:13 -05:00
compat Updated bundled libraries (#70418) 2020-07-02 12:39:00 -05:00
config Remove deprecated features from ansible.playbook.helpers (#74809) 2021-05-25 11:35:17 -04:00
errors Correctly set path and fullpath for template vars (#73924) 2021-03-26 16:33:25 -04:00
executor delegation fix (#74685) 2021-05-24 10:13:19 -04:00
galaxy Vendor distutils.version (#74644) 2021-05-11 12:33:51 -05:00
inventory inventory: misc typo fixes (#73695) 2021-02-23 10:42:20 -05:00
module_utils Don't mutate os.environ in AnsibleModule.run_command, make a copy, and pass to Popen (#74791) 2021-05-25 12:00:47 -04:00
modules [hostname] don't write in get_*() methods 2021-05-27 13:15:52 +02:00
parsing Remove PyCrypto (#74699) 2021-05-18 16:12:32 -04:00
playbook Remove deprecated features from ansible.playbook.helpers (#74809) 2021-05-25 11:35:17 -04:00
plugins ini: Add parameter to allow no value (#74806) 2021-05-27 11:12:38 +05:30
template Vendor distutils.version (#74644) 2021-05-11 12:33:51 -05:00
utils encrypt: add new paramter 'ident' (#74595) 2021-05-24 11:46:37 -04:00
vars Only check if play.hosts is a template when the play hasn't been finalized (#73941) 2021-04-19 13:03:40 -04:00
__init__.py CI and compat fixes for Jinja2 >= 3.0 (#74666) 2021-05-11 19:59:44 -07:00
constants.py force version on deprecation (#74338) 2021-04-26 13:02:00 -04:00
context.py
keyword_desc.yml Better handling of rstisms in ansible-doc (#74596) 2021-05-11 11:31:20 -04:00
release.py prep for 2.12 version bump (#74126) 2021-04-05 16:56:53 -05:00