From 22b4fc8d8b1694de000e11fcb77c44ddcf243a5e Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 30 May 2022 07:04:59 +0200 Subject: [PATCH] DOC: Documment setting of NTP server in examples. (#4655) (#4748) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tested on iLO 5 (HP Gen 10). Command checked from iLO5 REST API reference at https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#configuring-network-time-protocol-ntp (cherry picked from commit 3b48bde84f2375a85bb8e2f04aa58e7bb170ee12) Co-authored-by: Ondrej Faměra --- .../remote_management/redfish/ilo_redfish_config.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/modules/remote_management/redfish/ilo_redfish_config.py b/plugins/modules/remote_management/redfish/ilo_redfish_config.py index 3f9da0a4d8..837b2103b8 100644 --- a/plugins/modules/remote_management/redfish/ilo_redfish_config.py +++ b/plugins/modules/remote_management/redfish/ilo_redfish_config.py @@ -82,6 +82,17 @@ EXAMPLES = ''' password: Testpass123 attribute_name: TimeZone attribute_value: Chennai + + - name: Set NTP Servers + community.general.ilo_redfish_config: + category: Manager + command: SetNTPServers + baseuri: 15.X.X.X + username: Admin + password: Testpass123 + attribute_name: StaticNTPServers + attribute_value: X.X.X.X + ''' RETURN = '''