redfish-ansible-module
redfish-ansible-module copied to clipboard
redfish_facts multiple execution failure
When I have two tasks to run redfish_facts the last one overrides first one. How to reproduce:
- name: Get Manager attributes
redfish_facts:
category: Manager
command: GetManagerAttributes
baseuri: "{{ ibaseuri }}"
user: "{{ user }}"
password: "{{ password }}"
- name: Get System inventories
redfish_facts:
category: Systems
command: GetBiosAttributes
baseuri: "{{ baseuri }}"
user: "{{ user }}"
password: "{{ password }}"
- debug:
msg: "{{ ansible_facts.redfish_facts }}"
Yo will see only Bios attributes.
try directing the output of each task to a diff output file, refer to playbooks in https://github.com/dell/redfish-ansible-module/tree/master/playbooks.
@rht-jbittner I am going to assume my comment above fixed your issue. I will close this issue in the coming days if I don't hear back from you.