NiceRath / ansible-openwisp-dockerized

Ansible Role to Provision dockerized OpenWISP

Home Page:https://openwisp.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role - OpenWISP Dockerized

Based on the official OpenWISP Docker images.

This role strips some of the containers like postfix and openvpn. You can add them yourself if needed - see original docker-compose.yml


Config

See the defaults for all options.

By default, the data will be saved to /var/local/

openwisp:
  secrets:
    django: !vault |
      ...
    db: !vault |
      ...

  settings:
    domain: 'wlan.template.niceshops.com'
    domain_api: 'wlan-api.template.niceshops.com'
    email: 'wlan@template.niceshops.com'

  manage:
    docker: true  # disable to self-manage docker setup

You might want to use 'ansible-vault' to encrypt the secrets: ansible-vault encrypt_string 'YOUR-SECRET'

You may also want to update some additional environmental variables.


Run

ansible-galaxy install -r requirements.yml
ansible-playbook -k -K -i inventories/xx/hosts.yml playbook.yml --limit wlan-srv -D

About

Ansible Role to Provision dockerized OpenWISP

https://openwisp.org/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Jinja 100.0%