tripleo-common/roles/tripleo-ssh-known-hosts
Jose Luis Franco Arza 44ed2ea4b8 Set known hosts when --limit is set.
When the option --limit is specified the tasks will
run only on those hosts passed in the option (or all
except the one passed if patterns are used), for that
reason we can't consider that the facts will be
available for all hosts inside the 'overcloud' group.

This patch appends a new line into the known hosts file
with the available 'overcloud' group hosts instead of
creating a new ssh_known_hosts file.

Change-Id: I8c687c53aa4cff18ac15c332a72fb40ed730e69c
Closes-Bug: #1782168
2018-07-26 08:34:01 +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 Set known hosts when --limit is set. 2018-07-26 08:34:01 +02: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