Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant transport in kitchen.ec2.yml failing Actions #186

Open
karikarshivani opened this issue Apr 6, 2023 · 0 comments
Open

Redundant transport in kitchen.ec2.yml failing Actions #186

karikarshivani opened this issue Apr 6, 2023 · 0 comments

Comments

@karikarshivani
Copy link

Updating the kitchen.ec2.yml file to combine transport blocks seems to fail Actions checks since it's unable to establish an SSH connection. Find out if having separate transport blocks is a valid workaround.

Original kitchen.ec2.yml:

# ...

transport:
  name: ssh
  username: <%= ENV['AWS_EC2_USER'] %>
  ssh_key: <%= ENV['AWS_EC2_SSH_KEY'] %>
  connection_timeout: 10
  connection_retries: 5

# ...
        
transport:
  name: ssh
  #https://github.com/neillturner/kitchen-ansible/issues/295
  max_ssh_sessions: 2

Output:
image

Updated kitchen.ec2.yml:

# ...

transport:
  name: ssh
  username: <%= ENV['AWS_EC2_USER'] %>
  ssh_key: <%= ENV['AWS_EC2_SSH_KEY'] %>
  connection_timeout: 10
  connection_retries: 5
  #https://github.com/neillturner/kitchen-ansible/issues/295
  max_ssh_sessions: 2

Output:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant