tripleo-common/roles/tripleo-ssh-known-hosts
Oliver Walsh 6f538dc820 Skip ssh_known_hosts tasks in check mode
The tempfile task is skipped in check mode so we need to skip all tasks to
avoid referencing the undefined temp file path.

Change-Id: I87a4b40387cabed86e04efa64ddc19f117693589
Closes-Bug: 1817765
2019-02-26 17:54:03 +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 Skip ssh_known_hosts tasks in check mode 2019-02-26 17:54:03 +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