From 4399759cf33559c9c012cab5f4be1141d613c06d Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 23 Jun 2020 17:12:32 +0530 Subject: [PATCH] aix_filesystem - fix module_util pathing issue for ansible 2.9 (#567) * Bump ansible.posix requirement to 1.0.0 Signed-off-by: Abhijeet Kasurde --- .../fragments/aix_filesystem-module_util-routing-issue.yml | 3 +++ galaxy.yml | 2 +- plugins/modules/system/aix_filesystem.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 changelogs/fragments/aix_filesystem-module_util-routing-issue.yml diff --git a/changelogs/fragments/aix_filesystem-module_util-routing-issue.yml b/changelogs/fragments/aix_filesystem-module_util-routing-issue.yml new file mode 100644 index 0000000000..1cb803e1c2 --- /dev/null +++ b/changelogs/fragments/aix_filesystem-module_util-routing-issue.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - aix_filesystem - fix issues with ismount module_util pathing for Ansible 2.9 (https://github.com/ansible-collections/community.general/pull/567). diff --git a/galaxy.yml b/galaxy.yml index 7be916af51..4fec670b56 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -10,7 +10,7 @@ tags: null # NOTE: No more dependencies can be added to this list dependencies: ansible.netcommon: '>=0.0.2' - ansible.posix: '>=0.1.0' + ansible.posix: '>=1.0.0' community.kubernetes: '>=0.1.0' google.cloud: '>=0.0.9' repository: https://github.com/ansible-collections/community.general diff --git a/plugins/modules/system/aix_filesystem.py b/plugins/modules/system/aix_filesystem.py index 4a60a4708c..1293fee5ce 100644 --- a/plugins/modules/system/aix_filesystem.py +++ b/plugins/modules/system/aix_filesystem.py @@ -170,7 +170,7 @@ msg: ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.ansible.posix.plugins.module_utils.ismount import ismount +from ansible_collections.ansible.posix.plugins.module_utils.mount import ismount import re