tripleo-common/roles/tripleo-ssh-known-hosts
Oliver Walsh ca60b82be8 Workaround ssh_known_hosts changes not being propagated to containers
We need an in-place update of /etc/ssh/ssh_known_hosts for the changes to be
visible to running containers. This works around the issue until we have a
better long-term solution - make a copy, update using lineinfile, then
clobber the original file.

Closes-bug: #1810932
Change-Id: Ie6af5908d4b79bad094bce31e8e853678c0e843c
2019-01-08 17:05:44 +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 Workaround ssh_known_hosts changes not being propagated to containers 2019-01-08 17:05:44 +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