Skip to content
Discussion options

You must be logged in to vote

Disable SSH multiplexing in your Ansible/Molecule configuration:
yaml

ansible_ssh_args: -o ControlMaster=no -o ControlPersist=no

Increase timeouts more aggressively:
yaml

ansible_ssh_args: -o ConnectTimeout=60 -o ServerAliveInterval=60 -o ServerAliveCountMax=10

Try using the paramiko connection plugin instead of OpenSSH:
yaml

ansible_connection: paramiko

Split the cargo build into a separate step or use a build cache to reduce the time needed

Check for network restrictions - GitHub-hosted runners might have different outbound connection policies

Additional Debugging Steps:

Add -vvv to your Molecule command to get more verbose output

Try running a simple long-running command (like slee…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jack-rep
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Actions Build, test, and automate your deployment pipeline with world-class CI/CD Actions Runner For issues and discussions related to the Actions Runner project Misc General discussions about GitHub Actions that don't fit other found themes.
2 participants