I am new to stackstorm and Kindly help me on the below requirement.
step1: We are logging into a server using user credentials
step2: switching to docker user using: sudo su - docker (it is not asking password)
Step3: Now executing the commands:
systemctl start docker
systemctl stop docker
systemctl restart docker
I know we can use remote shell command runner type for the action but how to switch to docker user from user and run above commands.