deploy_adguard/README.md

39 lines
1.4 KiB
Markdown
Raw Normal View History

2023-05-31 20:05:56 +00:00
Deploy AdGuard
2023-05-28 18:03:38 +00:00
=========
> This repository is only a mirror. Development and testing is done on a private gitlab server.
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
This role install and configure adguard, with optionally virtual IP, metrics, and consul integration on **debian-based** distributions.
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
Requirements
------------
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
This role assumes you have `docker`, `docker-compose`, and eventually `consul` installed if using the consul integration. The role will not install these components, but you can install them using the [install_docker](https://github.com/ednxzu/install_docker) and [hashicorp_consul](https://github.com/ednxzu/hashicorp_consul) roles.
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
Role Variables
--------------
Available variables are listed below, along with default values. A sample file for the default values is available in `default/deploy_adguard.yml.sample` in case you need it for any `group_vars` or `host_vars` configuration.
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
Dependencies
------------
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
This role has a task that installs its own dependencies located in `task/prerequisites.yml`, so that you don't need to manage them. This role requires both `ednxzu.manage_repositories` and `ednxzu.manage_apt_packages` to install consul.
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
Example Playbook
----------------
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
```yaml
# calling the role inside a playbook with either the default or group_vars/host_vars
- hosts: servers
roles:
- ednxzu.hashicorp_consul
2023-05-28 17:24:32 +00:00
```
2023-05-28 18:03:38 +00:00
License
-------
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
MIT / BSD
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
Author Information
------------------
2023-05-28 17:24:32 +00:00
2023-05-28 18:03:38 +00:00
This role was created by Bertrand Lanson in 2023.