Skip to content

Commit 51d4cb0

Browse files
StevenH1901cmeissner
authored andcommitted
Set default for app_id as mentioned in docs
Update `app_id` to be not required and set default to ansible as per documentation.
1 parent b05429b commit 51d4cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/module_utils/phpipam_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(self, **kwargs):
5858
self.phpipam_spec, gen_args = self._phpipam_spec_helper(kwargs.pop('phpipam_spec', {}))
5959
argument_spec = dict(
6060
server_url=dict(required=True, fallback=(env_fallback, ['PHPIPAM_SERVER_URL'])),
61-
app_id=dict(required=True, fallback=(env_fallback, ['PHPIPAM_APP_ID'])),
61+
app_id=dict(required=False, fallback=(env_fallback, ['PHPIPAM_APP_ID']), default='ansible'),
6262
username=dict(required=True, fallback=(env_fallback, ['PHPIPAM_USERNAME'])),
6363
password=dict(required=True, fallback=(env_fallback, ['PHPIPAM_PASSWORD']), no_log=True),
6464
validate_certs=dict(type='bool', fallback=(env_fallback, ['PHPIPAM_VALIDATE_CERTS']), required=False, default=True),

0 commit comments

Comments
 (0)