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.
- Debian 8+
- Ubuntu 18+
ssh_key
: string with public ssh key for access to initial admin account
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.
$ ansible-galaxy install adamsbytes.ovhbastion
- hosts: all
become: yes
gather_facts: yes
roles:
- role: adamsbytes.ovhbastion
vars:
ssh_key: "YOUR_PUBLIC_SSH_KEY_HERE"
GPLv3