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
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.
ansible-galaxy install -r requirements.yml
ansible-playbook -k -K -i inventories/xx/hosts.yml playbook.yml --limit wlan-srv -D