/ansible-ovhbastion

Ansible role to deploy OVH Bastion

Primary LanguageShellGNU General Public License v3.0GPL-3.0

ovhbastion

Build Status

This role installs and configures the OVH Bastion software package. The ovhbastion role is based on the official OVH Bastion installation instructions. Please visit the official OVH Bastion documentation for more information.

Once you run this role, click here to view the next steps in configuring OVH Bastion.

Tested On

  • Debian 8+
  • Ubuntu 18+

Role Variables

Required

ssh_key: string with public ssh key for access to initial admin account

Recommended

bastion_name: string with name of bastion host. the system's actual hostname is not recommended
bastion_create_admin: toggle creation of the superadmin account
bastion_superadmin_uname: string with username for the bastion superadmin (if enabled)

See defaults/main.yml for optional variables that can be set.

Role Installation

$ ansible-galaxy install adamsbytes.ovhbastion

Example Playbook

- hosts: all
  become: yes
  gather_facts: yes
  roles:
    - role: adamsbytes.ovhbastion
  vars:
    ssh_key: "YOUR_PUBLIC_SSH_KEY_HERE"

License

GPLv3

Author Information

https://github.com/adamsbytes