feat(core): change namespace
All checks were successful
test / Linting (push) Successful in 9s
test / Molecule tests (default, debian11) (push) Successful in 41s
test / Molecule tests (default, debian12) (push) Successful in 42s
test / Molecule tests (with_custom_packages, debian12) (push) Successful in 47s
test / Molecule tests (with_custom_packages, ubuntu2004) (push) Successful in 52s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Successful in 1m0s
test / Molecule tests (default, ubuntu2004) (push) Successful in 50s
test / Molecule tests (default, ubuntu2204) (push) Successful in 48s
test / Molecule tests (with_custom_packages, debian11) (push) Successful in 1m18s
All checks were successful
test / Linting (push) Successful in 9s
test / Molecule tests (default, debian11) (push) Successful in 41s
test / Molecule tests (default, debian12) (push) Successful in 42s
test / Molecule tests (with_custom_packages, debian12) (push) Successful in 47s
test / Molecule tests (with_custom_packages, ubuntu2004) (push) Successful in 52s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Successful in 1m0s
test / Molecule tests (default, ubuntu2004) (push) Successful in 50s
test / Molecule tests (default, ubuntu2204) (push) Successful in 48s
test / Molecule tests (with_custom_packages, debian11) (push) Successful in 1m18s
This commit is contained in:
parent
879f0f11fe
commit
a82b5054ec
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_pip_packages
|
||||||
|
@ -31,12 +31,12 @@ manage_pip_packages_allow_break_system_packages: false # by default, set to fals
|
|||||||
This variable allow you to pass the `--break_system_packages` to pip.
|
This variable allow you to pass the `--break_system_packages` to pip.
|
||||||
|
|
||||||
> **Warning**
|
> **Warning**
|
||||||
> This is not recommended, and is only here if you have no other choice to install packages that aren't supported by the package manager, on distros that enforce the [PEP668](https://peps.python.org/pep-0668/). Chances are you can probably use [manage_pipx_packages](https://github.com/ednxzu/manage_pipx_packages) to install packages using pipx, avoiding the potential damages to your system.
|
> This is not recommended, and is only here if you have no other choice to install packages that aren't supported by the package manager, on distros that enforce the [PEP668](https://peps.python.org/pep-0668/). Chances are you can probably use [manage_pipx_packages](https://github.com/ednz_cloud/manage_pipx_packages) to install packages using pipx, avoiding the potential damages to your system.
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
------------
|
------------
|
||||||
|
|
||||||
`ednxzu.manage_apt_packages` to install python3 and pip (if selected).
|
`ednz_cloud.manage_apt_packages` to install python3 and pip (if selected).
|
||||||
|
|
||||||
Example Playbook
|
Example Playbook
|
||||||
----------------
|
----------------
|
||||||
@ -45,7 +45,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_pip_packages
|
- ednz_cloud.manage_pip_packages
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -54,7 +54,7 @@ Example Playbook
|
|||||||
tasks:
|
tasks:
|
||||||
- name: "Install ansible with pip"
|
- name: "Install ansible with pip"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: ednxzu.manage_pip_packages
|
name: ednz_cloud.manage_pip_packages
|
||||||
vars:
|
vars:
|
||||||
manage_pip_packages_install_prereqs: false
|
manage_pip_packages_install_prereqs: false
|
||||||
manage_pip_packages_list:
|
manage_pip_packages_list:
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
# meta file for manage_pip_packages
|
# meta file for manage_pip_packages
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
namespace: 'ednxzu'
|
namespace: "ednz_cloud"
|
||||||
role_name: 'manage_pip_packages'
|
role_name: "manage_pip_packages"
|
||||||
author: 'Bertrand Lanson'
|
author: "Bertrand Lanson"
|
||||||
description: 'Package management for python on debian-based distros.'
|
description: "Package management for python 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:
|
||||||
@ -17,10 +17,10 @@ galaxy_info:
|
|||||||
- bullseye
|
- bullseye
|
||||||
- bookworm
|
- bookworm
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- 'ubuntu'
|
- "ubuntu"
|
||||||
- 'debian'
|
- "debian"
|
||||||
- 'python3'
|
- "python3"
|
||||||
- 'pip'
|
- "pip"
|
||||||
- 'packages'
|
- "packages"
|
||||||
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Include ednxzu.manage_pip_packages"
|
- name: "Include ednz_cloud.manage_pip_packages"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_pip_packages"
|
name: "ednz_cloud.manage_pip_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_pip_packages"
|
- name: "Include ednz_cloud.manage_pip_packages"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_pip_packages"
|
name: "ednz_cloud.manage_pip_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_pip_packages"
|
- name: "Include ednz_cloud.manage_pip_packages"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_pip_packages"
|
name: "ednz_cloud.manage_pip_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_pip_packages"
|
- name: "Include ednz_cloud.manage_pip_packages"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_pip_packages"
|
name: "ednz_cloud.manage_pip_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,7 +2,7 @@
|
|||||||
# task/prerequisites file for manage_pip_packages
|
# task/prerequisites file for manage_pip_packages
|
||||||
- name: "Install python3 and pip"
|
- name: "Install python3 and pip"
|
||||||
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_pip_packages_required_packages }}"
|
manage_apt_packages_list: "{{ manage_pip_packages_required_packages }}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user