I am writing netscaler.adc
ansible collection
When I SSH into my ADC, the prompt looks like below
❯ ssh nsroot@myadc
###############################################################################
# #
# WARNING: Access to this system is for authorized users only #
# Disconnect IMMEDIATELY if you are not an authorized user! #
# #
###############################################################################
(nsroot@10.10.10.10) Password:
Warning: <some warnings>.
Done
>
> shell
root@ADC#
root@ADC#
root@ADC#
SSH-ing to the ADC directly takes me to NSCLI-prompt and not bash.
I will have to execute shell
command to take me to shell prompt.
How can I run a command in my ADC shell using ansible, eg. # mkdir abcd
on my shell?