Skip to content

Commit

Permalink
feat(core): change namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ednxzu committed Feb 5, 2024
1 parent 6e45c9e commit dbe0605
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 27 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------
Expand Down Expand Up @@ -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
Expand Down
22 changes: 11 additions & 11 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -15,10 +15,10 @@ galaxy_info:
versions:
- bookworm
galaxy_tags:
- 'ubuntu'
- 'debian'
- 'python'
- 'pipx'
- 'venv'
- "ubuntu"
- "debian"
- "python"
- "pipx"
- "venv"

dependencies: []
4 changes: 2 additions & 2 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion molecule/default/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_apt_packages
- name: ednz_cloud.manage_apt_packages
4 changes: 2 additions & 2 deletions molecule/default_vagrant/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion molecule/default_vagrant/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_apt_packages
- name: ednz_cloud.manage_apt_packages
4 changes: 2 additions & 2 deletions molecule/with_custom_packages/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion molecule/with_custom_packages/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_apt_packages
- name: ednz_cloud.manage_apt_packages
4 changes: 2 additions & 2 deletions molecule/with_custom_packages_vagrant/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion molecule/with_custom_packages_vagrant/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_apt_packages
- name: ednz_cloud.manage_apt_packages
2 changes: 1 addition & 1 deletion tasks/prerequisites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit dbe0605

Please sign in to comment.