feat(core): change namespace, upgrade gh-actions
Some checks failed
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian11) (push) Successful in 30s
test / Molecule tests (default, ubuntu2004) (push) Failing after 30s
test / Molecule tests (default, debian12) (push) Successful in 37s
test / Molecule tests (default, ubuntu2204) (push) Successful in 31s
test / Molecule tests (with_extra_sidecars, debian11) (push) Successful in 32s
test / Molecule tests (with_extra_sidecars, debian12) (push) Successful in 33s
test / Molecule tests (with_extra_sidecars, ubuntu2004) (push) Successful in 32s
test / Molecule tests (with_extra_sidecars, ubuntu2204) (push) Has been cancelled

This commit is contained in:
Bertrand Lanson 2024-02-05 21:59:56 +01:00
parent 0b0fc6673e
commit 2d55a67ad0
7 changed files with 25 additions and 23 deletions

View File

@ -13,6 +13,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Publish
uses: ednxzu/galaxy-import-role@v1
uses: ednz_cloud/galaxy-import-role@v2
with:
galaxy-api-key: ${{ secrets.GALAXY_API_TOKEN }}
repository-owner: ednz_cloud
repository-name: deploy_adguard

View File

@ -7,7 +7,7 @@ This role install and configure adguard, with optionally virtual IP, metrics, an
Requirements
------------
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.
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/ednz_cloud/install_docker) and [hashicorp_consul](https://github.com/ednz_cloud/hashicorp_consul) roles.
Role Variables
--------------
@ -93,7 +93,7 @@ deploy_adguard_consul: # by default, set to the following
connect:
sidecar_service: {}
```
This variable handles registering adguard as a [consul](https://developer.hashicorp.com/consul) service, for healthchecking and other features. Note that this role will not install consul, envoy, or any other binary necessary for this feature to work. You can check the [hashicorp_consul](https://github.com/ednxzu/hashicorp_consul) ansible role, to deploy a consul agent on the same node.
This variable handles registering adguard as a [consul](https://developer.hashicorp.com/consul) service, for healthchecking and other features. Note that this role will not install consul, envoy, or any other binary necessary for this feature to work. You can check the [hashicorp_consul](https://github.com/ednz_cloud/hashicorp_consul) ansible role, to deploy a consul agent on the same node.
```yaml
deploy_adguard_config: {} # by default, set to {}
@ -112,7 +112,7 @@ Example Playbook
# calling the role inside a playbook with either the default or group_vars/host_vars
- hosts: servers
roles:
- ednxzu.deploy_adguard
- ednz_cloud.deploy_adguard
```
License

View File

@ -1,12 +1,12 @@
---
# meta file for deploy_adguard
galaxy_info:
namespace: 'ednxzu'
role_name: 'deploy_adguard'
author: 'Bertrand Lanson'
description: 'Install and configure adguard using docker for debian-based distros.'
license: 'license (BSD, MIT)'
min_ansible_version: '2.10'
namespace: "ednz_cloud"
role_name: "deploy_adguard"
author: "Bertrand Lanson"
description: "Install and configure adguard using docker on debian-based distributions"
license: "license (BSD, MIT)"
min_ansible_version: "2.10"
platforms:
- name: Ubuntu
versions:
@ -17,10 +17,10 @@ galaxy_info:
- bullseye
- bookworm
galaxy_tags:
- 'ubuntu'
- 'debian'
- 'adguard'
- 'adblock'
- 'docker'
- "ubuntu"
- "debian"
- "adguard"
- "adblock"
- "docker"
dependencies: []

View File

@ -3,6 +3,6 @@
hosts: all
become: true
tasks:
- name: "Include ednxzu.deploy_adguard"
- name: "Include ednz_cloud.deploy_adguard"
ansible.builtin.include_role:
name: "ednxzu.deploy_adguard"
name: "ednz_cloud.deploy_adguard"

View File

@ -3,6 +3,6 @@
hosts: all
become: true
tasks:
- name: "Include ednxzu.deploy_adguard"
- name: "Include ednz_cloud.deploy_adguard"
ansible.builtin.include_role:
name: "ednxzu.deploy_adguard"
name: "ednz_cloud.deploy_adguard"

View File

@ -3,6 +3,6 @@
hosts: all
become: true
tasks:
- name: "Include ednxzu.deploy_adguard"
- name: "Include ednz_cloud.deploy_adguard"
ansible.builtin.include_role:
name: "ednxzu.deploy_adguard"
name: "ednz_cloud.deploy_adguard"

View File

@ -3,6 +3,6 @@
hosts: all
become: true
tasks:
- name: "Include ednxzu.deploy_adguard"
- name: "Include ednz_cloud.deploy_adguard"
ansible.builtin.include_role:
name: "ednxzu.deploy_adguard"
name: "ednz_cloud.deploy_adguard"