Fork me on GitHub
#onyx
<
2016-04-04
>
Drew Verlee02:04:42

@bridget. im able to stream logs from my ec2 instance.Unfortunately i did a couple things at the same time. So its unclear which solved the issue. I’ll probably wipe the slate tomorrow and be slightly more systematic. But in case work sweeps me away and i dont get back to investigating it properly, here is what might correct it: add

[ssh_connection]
control_path = %(directory)s/%%h-%%p-%%r
to ansible config. There seems to be an issue with long socket names: https://stackoverflow.com/questions/35595468/ansible-connection-to-aws-host-fails-with-unknown-ssh-error Run provisioning script with sudo, because you my user didnt have the sufficient permissions. It seems reasonable to assume permissions could be adjusted to allow for it to work. more on someone else with similar issues here: https://www.mail-archive.com/[email protected]/msg09336.html

bridget13:04:52

Thanks for the update @drewverlee!