ansible/changelogs/fragments
Rick Elrod 2531d54880
Throw AnsibleError instead of OSError, py3.9 crypt (#70246)
Change:
- On Python 3.9, `crypt.crypt` will throw instead of returning `None`
  when the algorithm isn't supported. So we catch that and handle it
  the same way we handled the algorithm not being supported on 3.8: by
  throwing AnsibleError.

Test Plan:
- CI for <=3.8.
- Local for 3.9b3:
  ansible -m debug -a "msg=\"{{ 'changeme' | password_hash('bcrypt') }}\"" localhost

  Before:
  localhost | FAILED! => {
      "msg": "Unexpected failure during module execution.",
      "stdout": ""
  }

  After:
  localhost | FAILED! => {
      "msg": "crypt.crypt does not support 'bcrypt' algorithm"
  }

Tickets:
- Fixes #69930

Signed-off-by: Rick Elrod <rick@elrod.me>
2020-06-24 13:50:28 -05:00
..
565_default_callback.yml default_callback: Move 'check_mode_markers' in doc_fragments (#70228) 2020-06-23 16:26:09 -04:00
63105-wcswidth.yml Use libc wcwidth to calculate print width in display (#66214) 2020-06-22 16:57:01 -05:00
70017-avoid-params-to-callable-checkers.yml Only pass kwargs to our string checker not callable checkers (#70151) 2020-06-19 09:52:05 -04:00
70148-galaxy-role-info.yaml Fix galaxy role info bug to support multiple roles (#70148) 2020-06-23 16:57:25 -04:00
70168-fix-delegate_facts-without-interpreter-set.yml Fix storing local task_vars facts for the retry (#70171) 2020-06-22 10:07:47 -04:00
ansible-boilerplate.yml Fix boilerplate in setup.py and lib/ansible/ dir. 2020-06-22 16:29:16 -07:00
ansible-test-cleanup-pylint-config.yml Clean up ansible-test pylint configs. (#70129) 2020-06-17 15:06:04 -07:00
ansible-test-pylint-plugin-name.yml Rename pylint plugin and add tests. (#70225) 2020-06-22 20:25:35 -07:00
ansible-test-rhel-requirements.yml Pin ansible-test requirements for RHEL. 2020-06-23 11:52:25 -07:00
ansible-test-sanity-importer-cleanup.yml Code cleanup in the import sanity test. 2020-06-23 23:09:00 -07:00
ansible-test-sanity-yamllint-lineno.yml Fix yamllint sanity test line numbers. 2020-06-18 10:03:21 -07:00
changelog-yaml.yml Include changelogs/changelog.yaml in distribution. (#70260) 2020-06-24 11:38:20 -05:00
crypt-oserror.yml Throw AnsibleError instead of OSError, py3.9 crypt (#70246) 2020-06-24 13:50:28 -05:00
deprecation-callback-get_item.yml Nuke _get_item() from callback, deprecated 2.11 (#70233) 2020-06-23 12:03:27 -04:00
deprecation-strategy-SharedPluginLoaderObj.yml Nuke strategy.SharedPluginLoaderObj, depr. 2.11 (#70235) 2020-06-23 13:09:26 -04:00
deprecation-systemd-user.yml Nuke systemd module user option, 2.11 deprecation (#70211) 2020-06-23 11:55:01 -04:00
deprecation-taskexecutor-squash.yml Nuke with_ squashing, deprecated for 2.11 (#70209) 2020-06-23 11:53:25 -04:00
plugin-loader-cleanup.yml Change comprehension to list() in plugin loader. 2020-06-18 12:29:52 -07:00
v2.11.0-initial-commit.yaml Bump devel to 2.11.0 (#70121) 2020-06-17 14:22:38 -05:00
win_setup-redirection.yaml Fix up the redirection of the win setup module (#70158) 2020-06-19 09:24:35 -07:00