tripleo-common/roles/tripleo-ssh-known-hosts
Martin André 1ceb21c0e2 Write to /etc/ssh with super user privileges
Not sure why it's working in CI or in the general case, but I've seen
this task fail with "Destination /etc/ssh not writable" from time to
time. This commit ensures it's always run with super user privilege so
it can write it /etc/ssh directory.

Change-Id: Ia753b5e842c20c21714111c6267ef70d53d9de4a
2018-06-12 15:43:18 +02: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 Write to /etc/ssh with super user privileges 2018-06-12 15:43:18 +02: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