Skip to content
Deliver a new server with all the required updates and security stuff, logins too.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vagrant/machines
defaults
files
group_vars
handlers
meta
tasks
templates
CentOS.yml
LICENSE
README.md
Ubuntu.yml
Vagrantfile
fedora.yml
site.yml

README.md

Ansible-ServerDelivery

Take a fresh deployed server from AWS or Digital Ocean and deliver it with everything it needs to be a secure, easy to use simple server. Servers will be deployed via Tugboat for Digital Ocean and AWS will use Web or cli.

  • Goal:
    • Apply all updates via YUM, DNF or Apt
    • Apply sane security setup to sshd
    • Create a list of users
    • Each user should have:
      • SSH Keys loaded
      • Shell configured
      • Aliases ready
      • Sudo access
      • SSH public keys in authorized_keys

Requirements

  • Server is Ubuntu, CentOS or Fedora
  • Server has a public facing IP
  • SSH is enabled
  • Each user to be created has a public ssh key in files/

Role Variables

users_ssh_key_pass = password for the ssh key created on the delivered server delivered_users = users to create on the system that will have sudo must_have_apps = list of apps to install ssh_config = path to sshd config file sshd_daemon = name of ssh daemon (ssh or sshd)

Dependencies

License

GNU

Author Information

Chris Livermore

@e30chris

Sandors Systems Scribbles

You can’t perform that action at this time.