Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

rchampourlier/ansible-playbooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Ansible HOWTO

Install brew

Mac

brew install ansible

Create an inventory file

echo "w.x.y.z" > inv.ini

Test the connection

This assumes you can SSH as root into the machine.

ansible all -i inv.ini -m ping -u root

Run the playbook

ansible-playbook basic_security.yml -i inv.ini -u root

Available playbooks

basic_security.yml

  • Unattended upgrades
  • No SSH password authentication
  • Custom SSH port (6677)
  • Basic firewall configuration
  • fail2ban
  • logwatch notifying daily on [email protected]

About

Basic Ansible playbooks for personal use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published