tripleo-common/roles/tripleo-ssh-known-hosts
James Slagle d45c47c050 Use ansible_hostname
ansible_nodename is a fqdn, whereas Heat is using the short hostname to
construct the ssh_known_hosts value. Switch to using ansible_hostname so
that the correct values will be found when looking up ssh_known_hosts.

Change-Id: Ic5e68f236ac35295647769d20e971cf71ea29134
2018-03-07 13:55:23 -05:00
..
defaults Add tripleo-ssh-known-hosts role 2018-01-30 15:31:37 -05:00
handlers Add tripleo-ssh-known-hosts role 2018-01-30 15:31:37 -05:00
meta Add tripleo-ssh-known-hosts role 2018-01-30 15:31:37 -05:00
tasks Add tripleo-ssh-known-hosts role 2018-01-30 15:31:37 -05:00
templates Use ansible_hostname 2018-03-07 13:55:23 -05:00
README.md Add tripleo-ssh-known-hosts role 2018-01-30 15:31:37 -05:00

tripleo-ssh-known-hosts

An Ansible role to add all SSH host keys to the host level known hosts file on all hosts.

Requirements

This section needs to be documented.

Role variables

  • ssh_known_hosts: -- Dict of hostname to ssh_known_hosts entries for a given host

Dependencies

None.

Example Playbook

Sample playbook to call the role:

  • name: Configure SSH known hosts hosts: all roles:
    • tripleo-ssh-known-hosts

License

Free software: Apache License (2.0)

Author Information

OpenStack TripleO team