Hello Thanks for your valuable inputs
after setting up SSH between the Linux and OpenVMS node, the ansible openvms-01 -m ping succesfully connects to the remote system (via ssh), then sends '/bin/sh -c '"'"'echo ~SYSTEM && sleep 0'"'"'' but this is an illegal command on OpenVMS which has a specific shell named DCL. So, now, how to specifiy a correct command for the OpenVMS host and check the reply. Le mercredi 24 octobre 2018 18:28:42 UTC+2, [email protected] a écrit : > > Hi, > Thanks for the detail. > > So, just to clarify some things: > > - ansible-playbook will still be run on a standard Linux machine, > that's the controller > - Ansible doesn't have an agent. It communicates over ssh, nothing to > install on the remote-node > - We are talking about supporting OpenVMS/Itanium as a *remote-node* > > > Assuming you have an inventory file that defines openvms-01 > > 1) If we start with the simplest task: > ansible openvms-01 -m ping > This ensure we have connectivity > > 2) Then look at > ansible openvms-01 -m setup -a 'gather_subset=!min' > Which should return something like > > SUCCESS => { > "ansible_facts": { > "gather_subset": [ > "!min" > ], > "module_setup": true > }, > "changed": false > > You can play around with the various gather_subset as defined on > https://docs.ansible.com/ansible/latest/modules/setup_module.html > > 3) Then > ansible openvms-01 -m setup -a 'gather_subset=min' > > > How do those commands seem? > > > If any fail add -vv and rerun > > > This should give us an indication of what works "out of the box". > > > You can see the code for the existing for facts in > https://github.com/ansible/ansible/tree/devel/lib/ansible/module_utils/facts > > Kind regards, > gundalow > -- 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/df23400e-7036-4b4d-871a-5fdc91ddb404%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
