Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redfish_facts multiple execution failure #80

Open
rht-jbittner opened this issue Nov 16, 2018 · 2 comments
Open

redfish_facts multiple execution failure #80

rht-jbittner opened this issue Nov 16, 2018 · 2 comments

Comments

@rht-jbittner
Copy link

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.

@jose-delarosa
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants