Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app_id is a required parameter despite documentation saying otherwise #123

Open
StevenH1901 opened this issue Jan 10, 2025 · 0 comments · May be fixed by #124
Open

app_id is a required parameter despite documentation saying otherwise #123

StevenH1901 opened this issue Jan 10, 2025 · 0 comments · May be fixed by #124
Labels
bug Something isn't working

Comments

@StevenH1901
Copy link

Describe the bug
Documentation states that app_id is an optional parameter and defaults to ansible. When running v1.7.0 I receive an error stating app_id is required.

{"msg": "missing required arguments: app_id"}

To Reproduce
Run playbook against phpIPAM server.

---
- name: Setup PhpIPAM
  hosts: localhost
  tasks:
    - name: Create section
      codeaffen.phpipam.section:
        username: "phpipam_usernam"
        password: "phpipam_password"
        server_url: "phpipam_server_url"
        name: "name"
        description: "description"

Expected behavior
app_id to be set to 'ansible' when not provided.

Versions:

  • Ansible: 2.14.17
  • phpipam-ansible-modules: 1.7.0
  • phpypam: 1.0.2
  • phpIPAM: 1.7.3
  • python version: 3.9.19
  • list of python libraries:
acme==2.11.0
ansible==7.7.0
ansible-core==2.14.17
attrs==20.3.0
Babel==2.9.1
beautifulsoup4==4.12.3
certbot==2.11.0
certbot-apache==2.11.0
certifi==2024.12.14
cffi==1.14.5
chardet==4.0.0
charset-normalizer==3.4.1
cloud-init==23.4
cockpit @ file:///builddir/build/BUILD/cockpit-323.1/tmp/wheel/cockpit-323.1-py3-none-any.whl
ConfigArgParse==1.7
configobj==5.0.6
cryptography==42.0.5
dasbus==1.4
dbus-python==1.2.18
decorator==4.4.2
distro==1.5.0
docopt==0.6.2
epdb==0.15.1
ethtool==0.15
file-magic==0.4.0
gpg==1.15.1
hvac==2.3.0
idna==3.10
importlib_metadata==8.5.0
inflection==0.5.1
iniparse==0.4
Jinja2==2.11.3
josepy==1.14.0
jsonpatch==1.21
jsonpointer==2.0
jsonschema==3.2.0
libcomps==0.1.18
logzero==1.7.0
lxml==4.6.5
MarkupSafe==1.1.1
netaddr==1.3.0
netifaces==0.10.6
nftables==0.1
nsx-policy-python-sdk @ file://localhost//tmp/pip-req-build-_mjfg8x6/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-4.1.2.0.0-py2.py3-none-any.whl
nsx-python-sdk @ file://localhost//tmp/pip-req-build-_mjfg8x6/lib/nsx-python-sdk/nsx_python_sdk-4.1.2.0.0-py2.py3-none-any.whl
nsx-vmc-aws-integration-python-sdk @ file://localhost//tmp/pip-req-build-_mjfg8x6/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-4.1.2.0.0-py2.py3-none-any.whl
nsx-vmc-policy-python-sdk @ file://localhost//tmp/pip-req-build-_mjfg8x6/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-4.1.2.0.0-py2.py3-none-any.whl
oauthlib==3.1.1
packaging==20.9
parsedatetime==2.6
perf==0.1
pexpect==4.8.0
phpypam==1.0.2
ply==3.11
prettytable==0.7.2
prompt-toolkit==3.0.43
psutil==5.8.0
ptyprocess==0.6.0
purestorage==1.19.0
pycparser==2.20
pyflakes==3.2.0
Pygments==2.17.2
PyGObject==3.40.1
pyinotify==0.9.6
pyOpenSSL==24.0.0
pyparsing==2.4.7
pyRFC3339==1.1
pyrsistent==0.17.3
pyserial==3.4
PySocks==1.7.1
pyspnego==0.11.2
python-augeas==1.1.0
python-dateutil==2.8.1
python-linux-procfs==0.7.3
pytz==2021.1
pyudev==0.22.0
pyvim==3.0.3
pyvmomi==8.0.3.0.1
pywinrm==0.5.0
PyYAML==5.4.1
requests==2.32.3
requests_ntlm==1.3.0
resolvelib==0.5.4
rpm==4.16.1.3
selinux==3.6
sepolicy==3.6
setools==4.4.4
setroubleshoot @ file:///builddir/build/BUILD/setroubleshoot-3.3.32/src
sh==2.0.7
six==1.15.0
sos==4.7.2
soupsieve==2.6
SSSDConfig==2.9.5
subscription-manager==1.29.42
systemd-python==234
urllib3==2.3.0
vapi-common-client @ file://localhost//tmp/pip-req-build-_mjfg8x6/lib/vapi-common-client/vapi_common_client-2.44.0-py2.py3-none-any.whl
vapi-runtime @ file://localhost//tmp/pip-req-build-_mjfg8x6/lib/vapi-runtime/vapi_runtime-2.44.0-py2.py3-none-any.whl
vcenter-bindings @ file://localhost//tmp/pip-req-build-_mjfg8x6/lib/vcenter-bindings/vcenter_bindings-4.2.0-py2.py3-none-any.whl
vmwarecloud-aws @ file://localhost//tmp/pip-req-build-_mjfg8x6/lib/vmwarecloud-aws/vmwarecloud_aws-1.64.0-py2.py3-none-any.whl
vmwarecloud-draas @ file://localhost//tmp/pip-req-build-_mjfg8x6/lib/vmwarecloud-draas/vmwarecloud_draas-1.23.0-py2.py3-none-any.whl
vsphere-automation-sdk==1.86.0
wcwidth==0.2.13
xmltodict==0.14.2
zipp==3.20.2

Additional context

@StevenH1901 StevenH1901 added the bug Something isn't working label Jan 10, 2025
@StevenH1901 StevenH1901 linked a pull request Jan 10, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant