thebinary / ansible-role-genieacs

Ansible Role to install and manage GenieACS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

thebinary.genieacs

Ansible role to install and manage GenieACS. Supports:

  • Install Type: source build (github repo)
  • OS: ubuntu

Role Variables

VARS

Variable Definition Default
user system user for genieacs genieacs
group system group for genieacs genieacs
repo_url github repo url to install genieacs from https://github.com/genieacs/genieacs
repo_version github branch/tag to build and install v1.2.3
genieacs_env Override/Additional environment vars for genieacs service {}
install_dir GenieACS dir to store env and ext scripts /opt/genieacs
log_dir GenieACS log dir /var/log/genieacs
source_bin_dir path to create genieacs binaries links /usr/local/bin

DEFAULTS

Variable Definition Defaults
node_repo_version 12.x NodeJS version to install for genieacs
npm_path /usr/bin/npm
rebuild force rebuilding and reinstall of genieacs source false
defaults_genieacs_env defaults/required env vars for genieacs service dict of env vars
ext_dir path for genieacs ext scripts {{ install_dir/ext }}
source_dir path to clone genieacs repo into /usr/local/src/genieacs
dist_install_dir path to install source build of genieacs /usr/local/share/genieacs
enabled_services genieacs services to enable [genieacs-cwmp, genieacs-ext, genieacs-fs, genieacs-nbi, genieacs-ui]

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

  - hosts: genie
    roles:
      - role: thebinary.genieacs
        repo_version: xmpp
        genieacs_env:
          GENIEACS_XMPP_JID: genie@example.org
          GENIEACS_XMPP_PASSWORD: xmpppassword

License

MIT

Author Information

TheBinary

About

Ansible Role to install and manage GenieACS


Languages

Language:HTML 100.0%