Git Product home page Git Product logo

redfish-ansible-playbooks's People

Contributors

billdodd avatar mraineri avatar othersystems avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redfish-ansible-playbooks's Issues

get_system_inventory.yml error template is undefine

Getting an error with playbook get_system_inventory.yml

RequestsDependencyWarning)
fatal: [redfish1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'template' is undefined\n\nThe error appears to be in '/etc/ansible/get_system_inventory.yml': line 25, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Copy results to output file\n ^ here\n"}

accounts/add_user.yml etc. would fail

ansible-playbook -i inventory.yml playbooks/accounts/add_user.yml

fatal: [redfish1]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "HTTP Error 500 on PATCH request to 'https://ip/redfish/v1/AccountService/Accounts/3', extended message: 'Internal Server Error'"}

while

curl -k -u user:password https://ip/redfish/v1/AccountService/Accounts/3
{ "@odata.type": "#ManagerAccount.v1_0_2.ManagerAccount", "Id": "3", "Name": "User Account", "Description": "User Account", "Enabled": true, "Password": null, "UserName": "test_user", "RoleId": "", "@odata.context": "\/redfish\/v1\/$metadata#ManagerAccount.ManagerAccount", "@odata.id": "\/redfish\/v1\/AccountService\/Accounts\/3" }

If I change Id to "4" which does not exist yet on my remote host, I still run into the same error.

ansible --version
ansible 2.9.12
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/ubuntu/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.17 (default, Jul 20 2020, 15:37:01) [GCC 7.5.0]

Need to follow Ansible release process

In order for these playbooks to be in synch with the latest Ansible release, we should be holding off on merging pull requests to master until any necessary Ansible changes are made available through their release process. This may mean we would have an active development branch, or set of branches tied to Ansible milestones.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.