redfish-ansible-module icon indicating copy to clipboard operation
redfish-ansible-module copied to clipboard

redfish_facts multiple execution failure

Open rht-jbittner opened this issue 7 years ago • 2 comments

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.

rht-jbittner avatar Nov 16 '18 13:11 rht-jbittner

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.

jose-delarosa avatar Nov 16 '18 17:11 jose-delarosa

@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.

jose-delarosa avatar Jan 14 '19 17:01 jose-delarosa