cloudposse / bastion

🔒Secure Bastion implemented as Docker Container running Alpine Linux with Google Authenticator & DUO MFA support
https://cloudposse.com/accelerate
Apache License 2.0
640 stars 112 forks source link

ansible fails on bastion #48

Closed chathsuom closed 1 year ago

chathsuom commented 4 years ago

ansible executes below command and it fails at 9.shell exec command

ssh 172.21.2.54 '/bin/sh -c '"'"'echo "pwd" && sleep 0'"'"''

chathsuom commented 4 years ago
rabbitmq-staging [~]# k="/bin/sh -c 'echo "/root" && sleep 0'"
rabbitmq-staging [~]# exec ${k}
/root: line 1: syntax error: unterminated quoted string
jonmchan commented 1 year ago

We are closing out stale issues. If this is still an issue for you, please add a new issue. Thank you.