I have created a simplified version of the Opengear ansible role I’m using in my production DC deployment. See link to the repo below. Opengear’s configuration is a mix of unix and it’s own internal database. To make matters more challenging, the Opengear config format is not really idempotent so you have to watch out when doing tasks like creating new users. So my hack is to essentially overwrite existing users every time I do an ansible playbook run. May this hack of a role help you figure out how to config your console servers more quickly.

ansible_role_opengear

Requirements#

  • Tested on Ubuntu 20.04

Role Variables#

Take a look at the group_vars and host_vars directories for example variables.