mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix structure xcc_redfish_command (#3479)
* adhere to proper task structure * add changelog fragment * return code formatting to original * remove unnecessary fragment
This commit is contained in:
parent
3fee872d58
commit
a14392fab0
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue