https://github.com/sudo-tiz/ansible-role-flaresolverr
https://github.com/sudo-tiz/ansible-role-flaresolverr
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sudo-tiz/ansible-role-flaresolverr
- Owner: sudo-Tiz
- License: agpl-3.0
- Created: 2025-09-28T09:56:23.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-11-30T12:38:22.000Z (8 months ago)
- Last Synced: 2025-12-02T17:50:39.609Z (8 months ago)
- Language: Jinja
- Size: 26.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flaresolverr Ansible role
This is an [Ansible](https://www.ansible.com/) role which installs [Flaresolverr](https://flaresolverr.dev/) to run as a [Docker](https://www.docker.com/) container wrapped in a systemd service.
This role _implicitly_ depends on:
- [`com.devture.ansible.role.playbook_help`](https://github.com/devture/com.devture.ansible.role.playbook_help)
- [`com.devture.ansible.role.systemd_docker_base`](https://github.com/devture/com.devture.ansible.role.systemd_docker_base)
Check [defaults/main.yml](defaults/main.yml) for the full list of supported options.
For an Ansible playbook which integrates this role and makes it easier to use, see the [mash-playbook](https://github.com/mother-of-all-self-hosting/mash-playbook).
## Limitations
This role configures **Flaresolverr** securely by:
1. Running the container as a non-root user.
2. Making the filesystem read-only.
3. Dropping all capabilities.
Due to Dockerfile limitations, the container must run as the **flaresolverr** user (`uid:1000`, `gid:1000`). You can change these values with:
- `flaresolverr_docker_uid`
- `flaresolverr_docker_gid`