forked from dell/dellemc-openmanage-ansible-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dellemc_configure_idrac_network.yml
72 lines (62 loc) · 1.84 KB
/
dellemc_configure_idrac_network.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
- hosts: hosts
connection: local
name: Configure the iDRAC network attributes
gather_facts: False
tasks:
- name: Register iDRAC on DNS
dellemc_configure_idrac_network:
idrac_ip: "{{idrac_ip}}"
idrac_user: "{{idrac_user}}"
idrac_pwd: "{{idrac_pwd}}"
share_name: "{{playbook_dir}}"
register_idrac_on_dns: "Enabled"
dns_idrac_name: "idrac-3CZWCK2"
auto_config: "Enabled"
static_dns: "dell.com"
tags:
- dns_register
- name: Setup VLAN attributes
dellemc_configure_idrac_network:
idrac_ip: "{{ idrac_ip }}"
idrac_user: "{{ idrac_user }}"
idrac_pwd: "{{ idrac_pwd }}"
share_name: "{{ playbook_dir }}"
setup_idrac_nic_vlan: "Enabled"
tags:
- setup_vlan
- name: Setup iDRAC NIC
dellemc_configure_idrac_network:
idrac_ip: "{{ idrac_ip }}"
idrac_user: "{{ idrac_user }}"
idrac_pwd: "{{ idrac_pwd }}"
share_name: "{{ playbook_dir }}"
enable_nic: "Enabled"
nic_selection: "Dedicated"
failover_network: "T_None"
auto_detect: "Disabled"
auto_negotiation: "Enabled"
network_speed: "T_1000"
duplex_mode: "Full"
tags:
- idrac_nic
- name: Setup iDRAC IPv4
dellemc_configure_idrac_network:
idrac_ip: "{{ idrac_ip }}"
idrac_user: "{{ idrac_user }}"
idrac_pwd: "{{ idrac_pwd }}"
share_name: "{{ playbook_dir }}"
enable_dhcp: "Enabled"
dns_from_dhcp: "Enabled"
enable_ipv4: "Enabled"
tags:
- idrac_ipv4
- name: Setup iDRAC Static IPv4
dellemc_configure_idrac_network:
idrac_ip: "{{ idrac_ip }}"
idrac_user: "{{ idrac_user }}"
idrac_pwd: "{{ idrac_pwd }}"
share_name: "{{ playbook_dir }}"
dns_from_dhcp: "Disabled"
tags:
- idrac_staticipv4