fix structure xcc_redfish_command (#3479) (#3481)

* adhere to proper task structure

* add changelog fragment

* return code formatting to original

* remove unnecessary fragment

(cherry picked from commit a14392fab0)

Co-authored-by: Zach Biles <bile0026@users.noreply.github.com>
pull/3489/head
patchback[bot] 2021-09-30 17:24:41 +02:00 committed by GitHub
parent 86ff3eb02e
commit c9c535178f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -168,7 +168,9 @@ EXAMPLES = '''
password: "{{ password }}" password: "{{ password }}"
resource_uri: "/redfish/v1/Managers/1/NetworkProtocol/Oem/Lenovo/DNS" resource_uri: "/redfish/v1/Managers/1/NetworkProtocol/Oem/Lenovo/DNS"
register: result register: result
- ansible.builtin.debug:
- name: Print fetched information
ansible.builtin.debug:
msg: "{{ result.redfish_facts.data }}" msg: "{{ result.redfish_facts.data }}"
- name: Get Lenovo FoD key collection resource via GetCollectionResource command - name: Get Lenovo FoD key collection resource via GetCollectionResource command
@ -180,7 +182,9 @@ EXAMPLES = '''
password: "{{ password }}" password: "{{ password }}"
resource_uri: "/redfish/v1/Managers/1/Oem/Lenovo/FoD/Keys" resource_uri: "/redfish/v1/Managers/1/Oem/Lenovo/FoD/Keys"
register: result register: result
- ansible.builtin.debug:
- name: Print fetched information
ansible.builtin.debug:
msg: "{{ result.redfish_facts.data_list }}" msg: "{{ result.redfish_facts.data_list }}"
- name: Update ComputeSystem property AssetTag via PatchResource command - name: Update ComputeSystem property AssetTag via PatchResource command