@ -34,6 +34,7 @@
|
|||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- api_url is defined
|
- api_url is defined
|
||||||
|
- api_url != ''
|
||||||
msg: "missing Required Variables"
|
msg: "missing Required Variables"
|
||||||
|
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: >-
|
url: >-
|
||||||
https://phpipam.local/api/{{ api_client_name }}/{{ api_path }}
|
{{ api_url }}/api/{{ api_client_name }}/{{ api_path }}
|
||||||
{%- if api_query_string is defined -%}
|
{%- if api_query_string is defined -%}
|
||||||
/?{{ api_query_string }}
|
/?{{ api_query_string }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
Reference in New Issue
Block a user