diff options
author | Shane St Savage <shane@axiomdatascience.com> | 2021-05-11 08:08:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 17:08:33 +0200 |
commit | df6554c4ec8b1256067bc2510134ac49cfc3003c (patch) | |
tree | 2b12f0dc47b630a851517bddb8433d01f1a523eb /changelogs/fragments | |
parent | 8fb54885bf891a61516164594e1625be3925910d (diff) | |
download | ansible-df6554c4ec8b1256067bc2510134ac49cfc3003c.tar.gz |
fix: action _fixup_perms2 macos +a remote_paths in list() as it can be a tuple (#74613)
* fix: action _fixup_perms2 macos +a remote_paths in list() as it can be tuple
in `lib/ansible/plugin/action/__init__.py`'s `_fixup_perms2`,
`remote_paths` can be a list or tuple. however, the macos
specific attempt to use chmod +a attempts to concatenate
`remote_paths` with a list, which will fail if it is a tuple.
wrapping `remote_paths` in `list()` fixes this error.
* Update changelogs/fragments/74613-actionfixup_perms2_macos_remote_paths_ensure_list.yml
Co-authored-by: Rick Elrod <rick@elrod.me>
Diffstat (limited to 'changelogs/fragments')
-rw-r--r-- | changelogs/fragments/74613-actionfixup_perms2_macos_remote_paths_ensure_list.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/74613-actionfixup_perms2_macos_remote_paths_ensure_list.yml b/changelogs/fragments/74613-actionfixup_perms2_macos_remote_paths_ensure_list.yml new file mode 100644 index 0000000000..bee7c9cbdc --- /dev/null +++ b/changelogs/fragments/74613-actionfixup_perms2_macos_remote_paths_ensure_list.yml @@ -0,0 +1,2 @@ +bugfixes: + - "remote tmpdir permissions - fix type error in macOS chmod ACL fallback (https://github.com/ansible/ansible/pull/74613)." |