Skip to content

ninekeem/atsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Ansible To SSH Config

Simple and small ansible playbook to create ssh config based on ansible hosts

Usage

Variables:

  • ansible_user — user which used to connect to server
  • atsc_path — path where ssh config[s] will be saved
  • ansible_ssh_key — local path to private ssh key
  • atsc_confirm — confirmation variable

Command

ansible-playbook -e ansible_user='user' -e atsc_path='~/.ssh/config.d/atsc' -e ansible_ssh_key='~/.ssh/my_ed25519' -e atsc_confirm=true path/to/ssh_config.yaml

About

Ansible To SSH Config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages