diff --git a/plugins/modules/ipaautomountlocation.py b/plugins/modules/ipaautomountlocation.py index 44748c0ed5ae1051fb2ebd5aff3e24df33b522c4..f1925ddc82c9d197e20ab1767b5139c0d998e4ba 100644 --- a/plugins/modules/ipaautomountlocation.py +++ b/plugins/modules/ipaautomountlocation.py @@ -33,13 +33,9 @@ author: chris procter short_description: Manage FreeIPA autommount locations description: - Add and delete an IPA automount location +extends_documentation_fragment: + - ipamodule_base_docs options: - ipaadmin_principal: - description: The admin principal - default: admin - ipaadmin_password: - description: The admin password - required: false name: description: The automount location to be managed required: true @@ -79,9 +75,9 @@ class AutomountLocation(FreeIPABaseModule): def get_location(self, location): try: - response = self.api_command("automountlocation_show", - location, - {}) + response = self.ipa_command( + "automountlocation_show", location, {} + ) except ipalib_errors.NotFound: return None else: