-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix typo & Fix app_id requirement and default #124
base: develop
Are you sure you want to change the base?
Changes from all commits
7e6f2f8
693730d
57b543c
f2aecf3
15ebb17
758ed3f
bb583bd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
- name: Shared vars test | ||
hosts: localhost | ||
gather_facts: false | ||
vars_files: | ||
- vars/server.yml | ||
- vars/address.yml | ||
tasks: | ||
- name: Check app_id defaults to 'ansible' | ||
ansible.builtin.include_tasks: tasks/address.yml | ||
vars: | ||
override: | ||
phpipam_app_id: "" | ||
step: create address again, no change | ||
address: '{{ base_address_data }}' |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You need to put If you do so, the test shows no idempotency anymore. Please investigate further. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would suggest to split the So we only handle here the I expect that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From your test, I noticed that list_order accepts values from 1 to 3. Are there corresponding strings used in the UI?
Maybe you can point to the correct point in the UI. If there are strings in the UI, we need to provide it here to work with these words instead of int. And in background, we need to translate these strings to int's for talking to the API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the section edit screen, I can find these Options to select. From this finding, two things came to my mind:
order_by
and how toorder
(asc, desc), to make it human-readable.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked the result from the API, if I queried a section
subnetOrdering
is corresponding with the one I found in the UI. Fororder
which corresponds withlist_order
, I was unable to find a UI element. Can you please guide me to the corresponding UI element to check different values available for that property?On the other hand, I recognized that we do not handle
subnetOrdering
with this module and here we can open a follow-up issue to track and implement it later.