Hello guys,
I want to display hp ilo version ,bios version bios date raid version… by using ANSIBLE code .can some one pls help me to achive that.
I am new to ansible so pls help me out
Hello guys,
I want to display hp ilo version ,bios version bios date raid version… by using ANSIBLE code .can some one pls help me to achive that.
I am new to ansible so pls help me out
Hello team,
I tried with that code.but getting below error
Please post your playbook.
Regards
Racke
https://docs.ansible.com/ansible/latest/collections/community/general/hpilo_info_module.html
<https://docs.ansible.com/ansible/latest/collections/community/general/hpilo_info_module.html>Hello guys,
I want to display hp ilo version ,bios version bios date raid version.. by using ANSIBLE code .can some one pls
help me to achive that.I am new to ansible so pls help me out
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ansible-project+unsubscribe@googlegroups.com <mailto:ansible-project+unsubscribe@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAB_%3D4oYsnaLHxaAdq8M4gQw6sEWopw3aJ-HOy8jqviXycVWh9g%40mail.gmail.com
<https://groups.google.com/d/msgid/ansible-project/CAB_%3D4oYsnaLHxaAdq8M4gQw6sEWopw3aJ-HOy8jqviXycVWh9g%40mail.gmail.com?utm_medium=email&utm_source=footer>\.--
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.
Written code below screenshot
You have a typo in delegate_to:
Otherwise please post playbooks and error messages in the mail and *not as screenshot*
Regards
Racke
https://docs.ansible.com/ansible/latest/collections/community/general/hpilo_info_module.html
<https://docs.ansible.com/ansible/latest/collections/community/general/hpilo_info_module.html>Hello guys,
I want to display hp ilo version ,bios version bios date raid version.. by using ANSIBLE code .can some one pls
help me to achive that.I am new to ansible so pls help me out
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ansible-project+unsubscribe@googlegroups.com <mailto:ansible-project+unsubscribe@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAB_%3D4oYsnaLHxaAdq8M4gQw6sEWopw3aJ-HOy8jqviXycVWh9g%40mail.gmail.com
<https://groups.google.com/d/msgid/ansible-project/CAB_%3D4oYsnaLHxaAdq8M4gQw6sEWopw3aJ-HOy8jqviXycVWh9g%40mail.gmail.com?utm_medium=email&utm_source=footer>\.--
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.
Code :
Error :
ERROR ! ‘community.general.hpilo_info’ is not a valid attribute for a play
The error appears to be in ‘/home/kondurun/projects/ansible/playbokks/ilo-module.yml’ : line 2,column 3,but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be :
The structure you have is incomplete. Tasks should go under 'tasks'.
See https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html
for some guidance.
Hi ,
As per ansible document only i followed
- name: Gather facts from a HP iLO interface only if the system is an HP server
community.general.hpilo_info:
host: YOUR_ILO_ADDRESS
login: YOUR_ILO_LOGIN
password: YOUR_ILO_PASSWORD
when: cmdb_hwmodel.startswith('HP ')
delegate_to: localhost
register: results
- ansible.builtin.fail:
msg: 'CMDB serial ({{ cmdb_serialno }}) does not match hardware serial ({{ results.hw_system_serial }}) !'
when: cmdb_serialno != results.hw_system_serial
Hi ,
As per ansible document only i followed
I don't know which document you are referring to. But not every
document has *full* examples.
Start at the beginning, using the link I posted earlier.
Just to make sure you get the right link, this is it:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html
Hello ,
Finally i got some out …by using the below code