Skip to content

neilmillard/host_ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

host_ansible

Getting started

This repo is for setting up new nodes with our standard accounts. It loads public keys onto the servers, so that later ansible roles can configure the servers.

What it does

Configure SSH for key logins and hardens sshd (removes root and password login). Creates users with our public keys

running

ensure the hosts file is updated

[fresh]
8.8.8.8

[fresh:vars]
ansible_connection=ssh
ansible_user=root
ansible_ssh_pass=myT0pSecretPass
ansible_ssh_port=22

Just execute

ansible-playbook host-setup.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published