ansible-roles.ssh_known_hosts

ansible-role-ssh_known_hosts

Build Status Ansible Galaxy Supported Platforms Ansible Version

Add sites to /etc/ssh/ssh_known_hosts for Debian/Ubuntu

Prerequisites

First of all you should install Ansible on your machine, official docs should help you with that.

Installation

ansible-galaxy install igor_mukhin.ssh_known_hosts

Example playbook

Lets add github.com and bitbucket.org to known hosts:

# playbook.yml

vars:
    ssh_known_hosts:
      - github.com
      - { host: bitbucket.org, type: rsa }

roles:
  - igor_mukhin.ssh_known_hosts
About

Add sites to /etc/ssh/ssh_known_hosts for Debian/Ubuntu

Install
ansible-galaxy install ansible-roles.ssh_known_hosts
GitHub repository
License
mit
Downloads
2k