Hi,
Foreman Remote Execution supports only connecting over SSH or using Ansible (which is SSH-based anyway). As far as I recall, connection to cisco devices can be done only over telnet, is that correct? If that is the case, I’m afraid you’d have to look for non REX-based solution.
Ah, I see. Currently it is not possible as we use all the little unix tools a lot. We would probably need to write a new REX provider or heavily refactor the current one to allow running in such environments.
Indeed, we are now testing ansible plugin to see if it can do what we want.
However, REX is better integrated in Foreman than the ansible plugin (for instance, with REX we can do everything through webui where with ansible we need to create roles through CLI on the Ansible server…), so it would be a better solution for us…
The kind of things we need to achieve, in this particular case, is to modify the switch configuration on more than 100 devices.
Regards,
Thomas Castelle
Responsable de la Direction Technique des Services Opérés
Direction des Opérations
There’s no need to create roles, you can create a new Job Template for the Ansible provider and enter the playbook you want to run as the template. The only requirement is that the playbook has to contain hosts: all. This can be fully done through the Web UI as well.