1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/integration/targets/ilo_redfish_config/tasks/main.yml
patchback[bot] 8d1a028dbd
Modules for managing HPE iLO (#3740) (#3892)
* Adding HPE ilo modules

* lint fix

* symlink created

* Fan message enhancement

* Removed comments

* Added uniform constuct

* Update plugins/module_utils/redfish_utils.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/module_utils/redfish_utils.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/remote_management/redfish/ilo_redfish_config.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Added info module and minor changes

* lint fixes

* lint fixes

* lint fixes

* lint fixes

* Added tests and modifed ilo_redfish_info

* Modified tests

* lint fix

* result overwrite fixed

* result overwrite fixed

* Added result

* Changed RESULT

* Modified contains

* Added License

* lint fix

* Changed RESULT

* lint fix

* Changed return

* Changed return

* Update plugins/modules/remote_management/redfish/ilo_redfish_info.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/remote_management/redfish/ilo_redfish_info.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/remote_management/redfish/ilo_redfish_info.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/remote_management/redfish/ilo_redfish_info.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/remote_management/redfish/ilo_redfish_config.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/remote_management/redfish/ilo_redfish_info.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Added - changed

* Modified changed attribute

* Changed modified

* lint fix

* Removed req

* Minor changes

* Update plugins/modules/remote_management/redfish/ilo_redfish_info.py

Co-authored-by: Rajeevalochana Kallur <rajeevalochana.kallur@hpe.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 8508e3fa6f)

Co-authored-by: Bhavya <44067558+Bhavya06@users.noreply.github.com>
2021-12-11 21:56:10 +01:00

48 lines
1.2 KiB
YAML

- name: Set NTP Servers
ilo_redfish_config:
category: Manager
command: SetNTPServers
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
attribute_name: StaticNTPServers
attribute_value: 1.2.3.4
- name: Set DNS Server
ilo_redfish_config:
category: Manager
command: SetDNSserver
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
attribute_name: DNSServers
attribute_value: 192.168.1.1
- name: Set Domain name
ilo_redfish_config:
category: Manager
command: SetDomainName
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
attribute_name: DomainName
attribute_value: tst.sgp.hp.mfg
- name: Disable WINS Reg
ilo_redfish_config:
category: Manager
command: SetWINSReg
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
attribute_name: WINSRegistration
- name: Set TimeZone
ilo_redfish_config:
category: Manager
command: SetTimeZone
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
attribute_name: TimeZone
attribute_value: Chennai