[2021-08-18 10:55:59 admin@cmoulaniEMS: ~ ]# ssh -p 8122 admin@10.52.23.67 Password authentication Password:
Insight
Insight Command Line Interface Date: Wed Aug 18 10:56:08 IST 2021
find target instances find target instances
Target : TGMS
Target Version : ~
Target Instance : TGMS
Target Instance Version: ~
Target : TMS
Target Version : ~
Target Instance : TMS
Target Instance Version: ~
Target : PSX
Target Version : V14.00.00
Target Instance : cmoulanipsxmaster
Target Instance Version: V14.00.00A019
Target : PSX
Target Version : V14.00.00
Target Instance : vivekpsxslave
Target Instance Version: V14.00.00R000
Target : PSX
Target Version : V14.00.00
Target Instance : stipsxslave
Target Instance Version: V14.00.00R000
Target : PSX
Target Version : V14.00.00
Target Instance : stipsxmaster
Target Instance Version: V14.00.00R000
Target : PSX
Target Version : V14.00.00
Target Instance : cmoulanipsxslave
Target Instance Version: V14.00.00A019
Target : PSX
Target Version : V14.00.00
Target Instance : vivekpsxmaster
Target Instance Version: V14.00.00R000
Result: Ok
s t i stipsxmaster s t i stipsxmaster
Result: Ok
PSX:V14.00.00R000:stipsxmaster> update STI_Server_Device STI_Server_Device_Id 123 Max_Connection 5 update STI_Server_Device STI_Server_Device_Id 123 Max_Connection 5
Result: Ok PSX:V14.00.00R000:stipsxmaster>
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
It is not very clear what commands exactly you need to run, but you could use the Ansible Shell module to run specific shell commands on your hosts.
Here is an example:
---
- name: Shell Examples
hosts: some_servers
tasks:
- name: Name of your task
shell:
" ls -lrt /var "
register: lsout
tags: lsout
- debug: msg="{{displaylist.stdout_lines}}"
You can add more tasks depending on your needs.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.