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 - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Publish - name: Publish
uses: ednxzu/galaxy-import-role@v1 uses: ednz_cloud/galaxy-import-role@v2
with: with:
galaxy-api-key: ${{ secrets.GALAXY_API_TOKEN }} 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 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 Role Variables
-------------- --------------
@ -93,7 +93,7 @@ deploy_adguard_consul: # by default, set to the following
connect: connect:
sidecar_service: {} 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 ```yaml
deploy_adguard_config: {} # by default, set to {} 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 # calling the role inside a playbook with either the default or group_vars/host_vars
- hosts: servers - hosts: servers
roles: roles:
- ednxzu.deploy_adguard - ednz_cloud.deploy_adguard
``` ```
License License

View File

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

View File

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

View File

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

View File

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

View File

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