Hi Everyone,
Ive been spinning my wheels trying to get my pipeline to run a straight forward salt-ssh command place in the script editor.
I've updated my .bashrc with the path export PATH=$PATH:/var/go/.local/bin
as this is where salt-ssh is installed however I still get an error
/f835531d-e481-4e73-8770-bfb4950256fa.sh: line 2: salt-ssh: command not found
[script-executor] Script completed with exit code: 127.
When I run the command from the agent under the go user, it runs just fine:
--------------
Succeeded: 102 (changed=8)
Failed: 0
--------------
Total states run: 102
Total run time: 9.241 s
Im not sure what Im doing wrong but any help would be greatly appreciated