Debian Codegraph @

ansible_collections/dellemc/openmanage/playbooks/ome/ome_device_mgmt_network.yml

raw symbols SCIP
1 ---
2 - name: Dell OME Modular device network settings.
3 hosts: ome
4 gather_facts: false
5
6 tasks:
7 - name: Network settings for chassis
8 dellemc.openmanage.ome_device_mgmt_network:
9 hostname: "{{ hostname }}"
10 username: "{{ username }}"
11 password: "{{ password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 device_service_tag: CHAS123
14 delay: 10
15 ipv4_configuration:
16 enable_ipv4: true
17 enable_dhcp: false
18 static_ip_address: 192.168.0.2
19 static_subnet_mask: 255.255.254.0
20 static_gateway: 192.168.0.3
21 use_dhcp_to_obtain_dns_server_address: false
22 static_preferred_dns_server: 192.168.0.4
23 static_alternate_dns_server: 192.168.0.5
24 ipv6_configuration:
25 enable_ipv6: true
26 enable_auto_configuration: false
27 static_ip_address: 2626:f2f2:f081:9:1c1c:f1f1:4747:1
28 static_prefix_length: 10
29 static_gateway: ffff::2607:f2b1:f081:9
30 use_dhcpv6_to_obtain_dns_server_address: false
31 static_preferred_dns_server: 2626:f2f2:f081:9:1c1c:f1f1:4747:3
32 static_alternate_dns_server: 2626:f2f2:f081:9:1c1c:f1f1:4747:4
33 dns_configuration:
34 register_with_dns: true
35 use_dhcp_for_dns_domain_name: false
36 dns_name: MX-SVCTAG
37 dns_domain_name: dnslocaldomain
38 auto_negotiation: false
39 network_speed: 100_MB
40 delegate_to: localhost
41
42 - name: Network settings for server
43 dellemc.openmanage.ome_device_mgmt_network:
44 hostname: "{{ hostname }}"
45 username: "{{ username }}"
46 password: "{{ password }}"
47 ca_path: "/path/to/ca_cert.pem"
48 device_service_tag: SRVR123
49 ipv4_configuration:
50 enable_ipv4: true
51 enable_dhcp: false
52 static_ip_address: 192.168.0.2
53 static_subnet_mask: 255.255.254.0
54 static_gateway: 192.168.0.3
55 use_dhcp_to_obtain_dns_server_address: false
56 static_preferred_dns_server: 192.168.0.4
57 static_alternate_dns_server: 192.168.0.5
58 ipv6_configuration:
59 enable_ipv6: true
60 enable_auto_configuration: false
61 static_ip_address: 2626:f2f2:f081:9:1c1c:f1f1:4747:1
62 static_prefix_length: 10
63 static_gateway: ffff::2607:f2b1:f081:9
64 use_dhcpv6_to_obtain_dns_server_address: false
65 static_preferred_dns_server: 2626:f2f2:f081:9:1c1c:f1f1:4747:3
66 static_alternate_dns_server: 2626:f2f2:f081:9:1c1c:f1f1:4747:4
67 delegate_to: localhost
68
69 - name: Network settings for I/O module
70 dellemc.openmanage.ome_device_mgmt_network:
71 hostname: "{{ hostname }}"
72 username: "{{ username }}"
73 password: "{{ password }}"
74 ca_path: "/path/to/ca_cert.pem"
75 device_service_tag: IOM1234
76 ipv4_configuration:
77 enable_ipv4: true
78 enable_dhcp: false
79 static_ip_address: 192.168.0.2
80 static_subnet_mask: 255.255.254.0
81 static_gateway: 192.168.0.3
82 ipv6_configuration:
83 enable_ipv6: true
84 enable_auto_configuration: false
85 static_ip_address: 2626:f2f2:f081:9:1c1c:f1f1:4747:1
86 static_prefix_length: 10
87 static_gateway: ffff::2607:f2b1:f081:9
88 dns_server_settings:
89 preferred_dns_server: 192.168.0.4
90 alternate_dns_server1: 192.168.0.5
91 delegate_to: localhost
92
93 - name: Management VLAN configuration of chassis using device id
94 dellemc.openmanage.ome_device_mgmt_network:
95 hostname: "{{ hostname }}"
96 username: "{{ username }}"
97 password: "{{ password }}"
98 ca_path: "/path/to/ca_cert.pem"
99 device_id: 12345
100 management_vlan:
101 enable_vlan: true
102 vlan_id: 2345
103 dns_configuration:
104 register_with_dns: false
105 delegate_to: localhost