Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/tasks/http_proxy.yml

raw symbols SCIP
1 ---
2 - name: "Create/Update/Delete HTTP Proxy"
3 vars:
4 http_proxy_state: "present"
5 http_proxy:
6 username: "{{ foreman_username }}"
7 password: "{{ foreman_password }}"
8 server_url: "{{ foreman_server_url }}"
9 validate_certs: "{{ foreman_validate_certs }}"
10 name: "{{ http_proxy_name }}"
11 url: "{{ http_proxy_url | default(omit) }}"
12 proxy_username: "{{ http_proxy_username | default(omit) }}"
13 proxy_password: "{{ http_proxy_password | default(omit) }}"
14 locations: "{{ http_proxy_locations | default(omit) }}"
15 organizations: "{{ http_proxy_organizations | default(omit) }}"
16 state: "{{ http_proxy_state }}"
17 register: result
18 - assert:
19 fail_msg: "Ensuring http_proxy is {{ http_proxy_state }} failed! (expected_change: {{ expected_change | default('unknown') }})"
20 that:
21 - result.changed == expected_change
22 when: expected_change is defined
23 ...