Skip to content

adamsbytes/ansible-ovhbastion

Repository files navigation

ansible-ovhbastion

Build Status

This role installs and configures OVH Cloud's the Bastion secured jump host server. The ovhbastion role is based on the official Bastion installation instructions. Please visit the official Bastion documentation for more information.

Once you run this role, click here to view the next steps in configuring the 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