Skip to content

Local SSH configuration to access require.io hosts broken by Ansible 2.6 #1483

@joaocgreis

Description

@joaocgreis

When running ansible-playbook playbooks/write-ssh-config.yml with Ansible 2.6, the resulting SSH config file contains the templates {{ ansible_ssh_private_key_file }} instead of the resolved value.

I bisected this to ansible/ansible@dae737c . On our side, https://github.com/nodejs/build/blob/master/ansible/plugins/library/ssh_config.py seems to be able to receive the hostinfo argument and work with it, but with templates are unresolved.

I can't investigate further at the moment, so if anyone wants feel free to take this. This is also a good first issue for anyone looking to join the Build WG. It's easy to work with a local clone of Ansible by following https://github.com/ansible/ansible/blob/devel/hacking/README.md#env-setup .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions