Debian Codegraph @

ansible_collections/dellemc/openmanage/playbooks/ome/application/ome_application_network_proxy.yml

raw symbols SCIP
1 ---
2 - name: Dell OpenManage Ansible Application network proxy setting.
3 hosts: ome
4 gather_facts: false
5
6 tasks:
7 - name: Update proxy configuration and enable authentication.
8 dellemc.openmanage.ome_application_network_proxy:
9 hostname: "{{ hostname }}"
10 username: "{{ username }}"
11 password: "{{ password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 enable_proxy: true
14 ip_address: "192.168.0.2"
15 proxy_port: 444
16 enable_authentication: true
17 proxy_username: "root"
18 proxy_password: "{{ proxy_password }}"
19 tags: setting1
20 delegate_to: localhost
21
22 - name: Reset proxy authentication.
23 dellemc.openmanage.ome_application_network_proxy:
24 hostname: "{{ hostname }}"
25 username: "{{ username }}"
26 password: "{{ password }}"
27 ca_path: "/path/to/ca_cert.pem"
28 enable_proxy: true
29 ip_address: "192.168.0.2"
30 proxy_port: 444
31 enable_authentication: false
32 tags: setting2
33 delegate_to: localhost
34
35 - name: Reset proxy configuration.
36 dellemc.openmanage.ome_application_network_proxy:
37 hostname: "{{ hostname }}"
38 username: "{{ username }}"
39 password: "{{ password }}"
40 ca_path: "/path/to/ca_cert.pem"
41 enable_proxy: false
42 tags: setting3
43 delegate_to: localhost
44
45 - name: Add IPv4, IPv6 and domain names of devices in proxy exclusion list
46 dellemc.openmanage.ome_application_network_proxy:
47 hostname: "{{ hostname }}"
48 username: "{{ username }}"
49 password: "{{ password }}"
50 ca_path: "/path/to/ca_cert.pem"
51 enable_proxy: true
52 ip_address: "192.168.0.2"
53 proxy_port: 444
54 enable_authentication: false
55 proxy_exclusion_list:
56 - 192.168.1.0
57 - 191.187.2.0
58 - www.*.com
59 - 191.1.168.1/24
60 tags: setting4
61 delegate_to: localhost
62
63 - name: Clear the proxy exclusion list
64 dellemc.openmanage.ome_application_network_proxy:
65 hostname: "{{ hostname }}"
66 username: "{{ username }}"
67 password: "{{ password }}"
68 ca_path: "/path/to/ca_cert.pem"
69 enable_proxy: true
70 ip_address: "192.168.0.2"
71 proxy_port: 444
72 proxy_exclusion_list: []
73 tags: setting5
74 delegate_to: localhost
75
76 - name: Ignore the certificate validation
77 dellemc.openmanage.ome_application_network_proxy:
78 hostname: "{{ hostname }}"
79 username: "{{ username }}"
80 password: "{{ password }}"
81 ca_path: "/path/to/ca_cert.pem"
82 enable_proxy: true
83 ip_address: "192.168.0.2"
84 proxy_port: 444
85 ignore_certificate_validation: true
86 tags: setting6
87 delegate_to: localhost