Ansible and MLNX-OS

Hi - has anyone been able to do any Ansible Playbooks against the Mellanox switches running MLNX-OS? I know nVidia doesn’t support any Ansible modules for MLNX-OS. They do have some for Onyx based systems.

What little I want to do can be accomplished with Ansible builtin modules. But, first stumbling block is ssh’ing as admin does not offer any Unix like commands. Ansible is unable to create the tmp directory and file needed to transfer data needed by the Ansible.

Is there an account other than admin a privileged user can login to and have a Linux like shell? I’m trying to think out-of-the-the-box.

So my base problem is I need to specify remote_tmp variable (ex. remote_tmp = /tmp/.ansible/tmpremote_tmp = /tmp/.ansible/tmp) so that the user Ansilble is logging in as can create the tmp directories and put files to them.

Thanks,

Mark

Hi Mark,

Thank you for contacting Nvidia Networking support team.

MLNX Onyx supports two of main automation tools, such as Ansible and SALT. But MLNX OS doesn’t support any automation tools. UFM is recommended to manage/monitor the IB fabric.

Best Regards
Nvidia Networking

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.