Skip to content

ansible-roles/ansible-role-ssh_known_hosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ~/.ssh/known_hosts for Debian/Ubuntu

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages