tripleo-common/roles/tripleo-ssh-known-hosts
Ben Nemec eae3867fc7 Look for lower-case hostname when adding to ssh_known_hosts
We need to normalize hostnames to lower-case in order to avoid
case discrepancies.

Change-Id: Iaf73f9ae346425881e70500cf3ee28599fc4171a
Partial-Bug: 1809273
(cherry picked from commit c71d234bf8)
(cherry picked from commit c51cce0c4a)
2019-01-09 17:34:47 +00: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 Look for lower-case hostname when adding to ssh_known_hosts 2019-01-09 17:34:47 +00:00
README.md Add tripleo-ssh-known-hosts role 2018-01-30 15:31:37 -05:00

README.md

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