feat(core): change namespace
All checks were successful
test / Linting (push) Successful in 7s
test / Molecule tests (default, debian12) (push) Successful in 1m31s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m13s
test / Molecule tests (with_custom_packages, debian12) (push) Successful in 1m17s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Successful in 1m18s

This commit is contained in:
Bertrand Lanson 2024-02-05 22:36:42 +01:00
parent 6e45c9e279
commit dbe0605b11
12 changed files with 29 additions and 27 deletions

View File

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

View File

@ -4,7 +4,7 @@ manage_pipx_packages
This role enables you to manage python packages using pipx, to comply with the [PEP668](https://peps.python.org/pep-0668/) on **debian-based** distributions. It can be used on its own , or be called by other roles the install/remove packages on demand.
> **Warning**
> This role only supports ubuntu versions starting at 22.04, and debian versions starting a Debian 12. This is due to the pipx package being to out-of-date, or completely absent on older distributions. However, these older distributions typically do not enforce the PEP668, so you can use [ednxzu.manage_pip_packages](https://github.com/ednxzu/manage_pip_packages) instead.
> This role only supports ubuntu versions starting at 22.04, and debian versions starting a Debian 12. This is due to the pipx package being to out-of-date, or completely absent on older distributions. However, these older distributions typically do not enforce the PEP668, so you can use [ednz_cloud.manage_pip_packages](https://github.com/ednz_cloud/manage_pip_packages) instead.
Requirements
------------
@ -53,7 +53,7 @@ Example Playbook
# calling the role inside a playbook with either the default or group_vars/host_vars
- hosts: servers
roles:
- ednxzu.manage_pipx_packages
- ednz_cloud.manage_pipx_packages
```
License

View File

@ -1,12 +1,12 @@
---
# meta file for deploy_adguard
galaxy_info:
namespace: 'ednxzu'
role_name: 'manage_pipx_packages'
author: 'Bertrand Lanson'
description: 'Package management for python using pipx on debian-based distros.'
license: 'license (BSD, MIT)'
min_ansible_version: '2.10'
namespace: "ednz_cloud"
role_name: "manage_pipx_packages"
author: "Bertrand Lanson"
description: "Package management for python using pipx on debian-based distros."
license: "license (BSD, MIT)"
min_ansible_version: "2.10"
platforms:
- name: Ubuntu
versions:
@ -15,10 +15,10 @@ galaxy_info:
versions:
- bookworm
galaxy_tags:
- 'ubuntu'
- 'debian'
- 'python'
- 'pipx'
- 'venv'
- "ubuntu"
- "debian"
- "python"
- "pipx"
- "venv"
dependencies: []

View File

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

View File

@ -1,4 +1,4 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_apt_packages
- name: ednz_cloud.manage_apt_packages

View File

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

View File

@ -1,4 +1,4 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_apt_packages
- name: ednz_cloud.manage_apt_packages

View File

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

View File

@ -1,4 +1,4 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_apt_packages
- name: ednz_cloud.manage_apt_packages

View File

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

View File

@ -1,4 +1,4 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_apt_packages
- name: ednz_cloud.manage_apt_packages

View File

@ -2,6 +2,6 @@
# task/prerequisites file for manage_pipx_packages
- name: "Install python3 and pipx"
ansible.builtin.include_role:
name: ednxzu.manage_apt_packages
name: ednz_cloud.manage_apt_packages
vars:
manage_apt_packages_list: "{{ manage_pipx_packages_required_packages }}"