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
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:
parent
6e45c9e279
commit
dbe0605b11
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -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: ednxzu/galaxy-import-role@v2
|
||||||
with:
|
with:
|
||||||
galaxy-api-key: ${{ secrets.GALAXY_API_TOKEN }}
|
galaxy-api-key: ${{ secrets.GALAXY_API_TOKEN }}
|
||||||
|
repository-owner: ednxzu
|
||||||
|
repository-name: manage_pipx_packages
|
||||||
|
@ -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.
|
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**
|
> **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
|
Requirements
|
||||||
------------
|
------------
|
||||||
@ -53,7 +53,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.manage_pipx_packages
|
- ednz_cloud.manage_pipx_packages
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
|
@ -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: 'manage_pipx_packages'
|
role_name: "manage_pipx_packages"
|
||||||
author: 'Bertrand Lanson'
|
author: "Bertrand Lanson"
|
||||||
description: 'Package management for python using pipx on debian-based distros.'
|
description: "Package management for python using pipx on debian-based distros."
|
||||||
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:
|
||||||
@ -15,10 +15,10 @@ galaxy_info:
|
|||||||
versions:
|
versions:
|
||||||
- bookworm
|
- bookworm
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- 'ubuntu'
|
- "ubuntu"
|
||||||
- 'debian'
|
- "debian"
|
||||||
- 'python'
|
- "python"
|
||||||
- 'pipx'
|
- "pipx"
|
||||||
- 'venv'
|
- "venv"
|
||||||
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Include ednxzu.manage_pipx_packages"
|
- name: "Include ednz_cloud.manage_pipx_packages"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_pipx_packages"
|
name: "ednz_cloud.manage_pipx_packages"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
# requirements file for molecule
|
# requirements file for molecule
|
||||||
roles:
|
roles:
|
||||||
- name: ednxzu.manage_apt_packages
|
- name: ednz_cloud.manage_apt_packages
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Include ednxzu.manage_pipx_packages"
|
- name: "Include ednz_cloud.manage_pipx_packages"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_pipx_packages"
|
name: "ednz_cloud.manage_pipx_packages"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
# requirements file for molecule
|
# requirements file for molecule
|
||||||
roles:
|
roles:
|
||||||
- name: ednxzu.manage_apt_packages
|
- name: ednz_cloud.manage_apt_packages
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Include ednxzu.manage_pipx_packages"
|
- name: "Include ednz_cloud.manage_pipx_packages"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_pipx_packages"
|
name: "ednz_cloud.manage_pipx_packages"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
# requirements file for molecule
|
# requirements file for molecule
|
||||||
roles:
|
roles:
|
||||||
- name: ednxzu.manage_apt_packages
|
- name: ednz_cloud.manage_apt_packages
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Include ednxzu.manage_pipx_packages"
|
- name: "Include ednz_cloud.manage_pipx_packages"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_pipx_packages"
|
name: "ednz_cloud.manage_pipx_packages"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
# requirements file for molecule
|
# requirements file for molecule
|
||||||
roles:
|
roles:
|
||||||
- name: ednxzu.manage_apt_packages
|
- name: ednz_cloud.manage_apt_packages
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
# task/prerequisites file for manage_pipx_packages
|
# task/prerequisites file for manage_pipx_packages
|
||||||
- name: "Install python3 and pipx"
|
- name: "Install python3 and pipx"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: ednxzu.manage_apt_packages
|
name: ednz_cloud.manage_apt_packages
|
||||||
vars:
|
vars:
|
||||||
manage_apt_packages_list: "{{ manage_pipx_packages_required_packages }}"
|
manage_apt_packages_list: "{{ manage_pipx_packages_required_packages }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user