mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-05-06 21:32:59 +00:00
mount - fix module_util pathing issue for ansible 2.9
In Ansible 2.9 (pre 2.10 routing), the AnsiballZ creation of the payload will add an extra directory to the module_util path because ismount.py shares the same name as it's parent dir which creates an inconsistency in the payload creation. This causes the Collection module ansible.posix.mount to work in Ansible 2.10 but not 2.9, with this pull request a simple renaming of the module_util which side steps this inconsistency. Fixes https://github.com/ansible-collections/ansible.posix/issues/21 Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Reference in New Issue
Block a user