Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicerath/ansible-openwisp-dockerized
Ansible Role to Provision dockerized OpenWISP
https://github.com/nicerath/ansible-openwisp-dockerized
ansible ansible-role network openwisp openwrt
Last synced: about 1 month ago
JSON representation
Ansible Role to Provision dockerized OpenWISP
- Host: GitHub
- URL: https://github.com/nicerath/ansible-openwisp-dockerized
- Owner: NiceRath
- License: bsd-3-clause
- Created: 2024-06-05T09:22:12.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-05T12:58:51.000Z (6 months ago)
- Last Synced: 2024-09-30T17:23:27.767Z (about 2 months ago)
- Topics: ansible, ansible-role, network, openwisp, openwrt
- Language: Jinja
- Homepage: https://openwisp.org/
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ansible Role - OpenWISP Dockerized
Based on the official [OpenWISP Docker images](https://github.com/openwisp/docker-openwisp).
This role strips some of the containers like `postfix` and `openvpn`. You can add them yourself if needed - see [original docker-compose.yml](https://github.com/openwisp/docker-openwisp/blob/master/docker-compose.yml)
----
## Config
See [the defaults](https://github.com/NiceRath/ansible-openwisp-dockerized/blob/main/defaults/main.yml) for all options.
By default, the data will be saved to `/var/local/`
```yaml
openwisp:
secrets:
django: !vault |
...
db: !vault |
...settings:
domain: 'wlan.template.niceshops.com'
domain_api: 'wlan-api.template.niceshops.com'
email: '[email protected]'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](https://github.com/NiceRath/ansible-openwisp-dockerized/blob/main/templates/etc/openwisp/env.j2).
----
## Run
```bash
ansible-galaxy install -r requirements.yml
ansible-playbook -k -K -i inventories/xx/hosts.yml playbook.yml --limit wlan-srv -D
```