I am trying to create a playbook to make lights-out adapters report issues. The
lights-out adapter type I have to talk to is sun/oracle ilom. But if this can
be made to work, it would probably be usable for any lights-out adapter that is
using ssh.
My current playbook looks like this:
---
- hosts: iloms
remote_user: root
gather_facts: false
tasks:
-name: run show faulty command
raw: show faulty
register: showfaulty
Upon running this playbook, I get this in my stdout:
shell: Invalid credentials\n\n\n
It appears that despite ansible is executing "raw commands", it first tries to
set a shell, which is non-existent on an ilom adapter, because it has a fixed
limited shell which works totally different.
Is there some way to truly issue raw commands? This would open up Ansible usage
to a lot of devices that are talking ssh.
Thanks!
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/92981683-6db3-411f-84d8-f5a472cf23f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.