brucellino.bastion

Ansible Role Bastion

This role creates a Bastion host, typically for use in a cloud environment. This is essentially a secure SSH server, configured to protect a subnet behind it. This role builds OpenSSH from scratch so that you have full control over it.

Requirements

The role is tested on AWS EC2, so you will need boto.

Role Variables

Role variables are kept in defaults/main.yml unless overwritten by site, group, or other vars.

Important variables are:

  • prerequisites - OS-specific packages which are needed in order to install OpenSSH.
  • ssh - variables to configure OpenSSH itself.

Dependencies

Example Playbook

- hosts: servers
  roles:
     - { role: brucellino.bastion }

License

MIT

Author Information

Bruce Becker | bruce.becker@aptus.eu

About

An Ansible role to provision a bastion host

Install
ansible-galaxy install brucellino.bastion
GitHub repository
License
mit
Downloads
388
Owner
ex physicist. Infrastructure guy. Skeptic. African. Islander. dad.