Debian Codegraph @

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

raw symbols SCIP
1 ---
2 - name: "Ensure Smart Proxy '{{ smart_proxy_name }}' is {{ smart_proxy_state }}"
3 vars:
4 smart_proxy_name: "{{ foreman_proxy }}"
5 smart_proxy_url: "https://{{ foreman_proxy }}:9090"
6 smart_proxy:
7 username: "{{ foreman_username }}"
8 password: "{{ foreman_password }}"
9 server_url: "{{ foreman_server_url }}"
10 validate_certs: "{{ foreman_validate_certs }}"
11 name: "{{ smart_proxy_name }}"
12 url: "{{ smart_proxy_url }}"
13 lifecycle_environments: "{{ smart_proxy_lifecycle_environments | default(omit) }}"
14 download_policy: "{{ smart_proxy_download_policy | default(omit) }}"
15 state: "{{ smart_proxy_state }}"
16 register: result
17 - assert:
18 fail_msg: "Ensuring Smart Proxy is {{ smart_proxy_state }} failed! (expected_change: {{ expected_change | default('unknown') }})"
19 that:
20 - result.changed == expected_change
21 when: expected_change is defined
22 - include_tasks: _assert_diff.yml
23 vars:
24 module: smart_proxy
25 ...