diff --git a/docs/plugins/address_module.rst b/docs/plugins/address_module.rst index d10f9e4..89ef2e7 100644 --- a/docs/plugins/address_module.rst +++ b/docs/plugins/address_module.rst @@ -348,7 +348,7 @@ Parameters
- IP address to hanle + IP address to handle .. raw:: html diff --git a/plugins/module_utils/phpipam_helper.py b/plugins/module_utils/phpipam_helper.py index 780db23..e7aa6e9 100644 --- a/plugins/module_utils/phpipam_helper.py +++ b/plugins/module_utils/phpipam_helper.py @@ -58,7 +58,7 @@ def __init__(self, **kwargs): self.phpipam_spec, gen_args = self._phpipam_spec_helper(kwargs.pop('phpipam_spec', {})) argument_spec = dict( server_url=dict(required=True, fallback=(env_fallback, ['PHPIPAM_SERVER_URL'])), - app_id=dict(required=True, fallback=(env_fallback, ['PHPIPAM_APP_ID'])), + app_id=dict(required=False, fallback=(env_fallback, ['PHPIPAM_APP_ID']), default='ansible'), username=dict(required=True, fallback=(env_fallback, ['PHPIPAM_USERNAME'])), password=dict(required=True, fallback=(env_fallback, ['PHPIPAM_PASSWORD']), no_log=True), validate_certs=dict(type='bool', fallback=(env_fallback, ['PHPIPAM_VALIDATE_CERTS']), required=False, default=True), diff --git a/plugins/modules/section.py b/plugins/modules/section.py index 4f3b6c1..a78dadc 100644 --- a/plugins/modules/section.py +++ b/plugins/modules/section.py @@ -122,11 +122,11 @@ def main(): phpipam_spec=dict( name=dict(type='str', required=True), description=dict(type='str', required=False), - parent=dict(type='entity', controller='sections', required=False, defautl=None, phpipam_name='masterSection'), + parent=dict(type='entity', controller='sections', required=False, default=None, phpipam_name='masterSection'), permissions=dict(type='json', required=False, default=None), strict_mode=dict(type='bool', required=False), subnet_ordering=dict(type='bool', required=False, phpipam_name='subnetOrdering'), - list_order=dict(type='bool', required=False, phpipam_name='order'), + list_order=dict(type='int', required=False, phpipam_name='order'), show_vlan=dict(type='bool', required=False, phpipam_name='showVLAN'), show_vrf=dict(type='bool', required=False, phpipam_name='showVRF'), show_supernets_only=dict(type='bool', required=False, phpipam_name='showSupernetOnly'),