feat(core): change namespace
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian12) (push) Successful in 44s
test / Molecule tests (default, ubuntu2004) (push) Successful in 47s
test / Molecule tests (with_custom_repo, debian11) (push) Successful in 1m3s
test / Molecule tests (with_custom_repo, ubuntu2004) (push) Successful in 57s
test / Molecule tests (with_custom_repo, debian12) (push) Successful in 1m3s
test / Molecule tests (default, debian11) (push) Successful in 42s
test / Molecule tests (with_custom_repo, ubuntu2204) (push) Successful in 1m2s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m11s
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian12) (push) Successful in 44s
test / Molecule tests (default, ubuntu2004) (push) Successful in 47s
test / Molecule tests (with_custom_repo, debian11) (push) Successful in 1m3s
test / Molecule tests (with_custom_repo, ubuntu2004) (push) Successful in 57s
test / Molecule tests (with_custom_repo, debian12) (push) Successful in 1m3s
test / Molecule tests (default, debian11) (push) Successful in 42s
test / Molecule tests (with_custom_repo, ubuntu2204) (push) Successful in 1m2s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m11s
This commit is contained in:
parent
f158c340d7
commit
57039dd3a6
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_repositories
|
||||||
|
@ -59,7 +59,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_repositories
|
- ednz_cloud.manage_repositories
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -68,7 +68,7 @@ Example Playbook
|
|||||||
tasks:
|
tasks:
|
||||||
- name: "Configure hashicorp repository"
|
- name: "Configure hashicorp repository"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: ednxzu.manage_repositories
|
name: ednz_cloud.manage_repositories
|
||||||
vars:
|
vars:
|
||||||
manage_repositories_enable_default_repo: false
|
manage_repositories_enable_default_repo: false
|
||||||
manage_repositories_enable_custom_repo: true
|
manage_repositories_enable_custom_repo: true
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
# meta file for manage_repositories
|
# meta file for manage_repositories
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
namespace: 'ednxzu'
|
namespace: "ednz_cloud"
|
||||||
role_name: 'manage_repositories'
|
role_name: "manage_repositories"
|
||||||
author: 'Bertrand Lanson'
|
author: "Bertrand Lanson"
|
||||||
description: 'Repository management for debian-based distros.'
|
description: "Repository management for 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,9 +17,9 @@ galaxy_info:
|
|||||||
- bullseye
|
- bullseye
|
||||||
- bookworm
|
- bookworm
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- 'ubuntu'
|
- "ubuntu"
|
||||||
- 'debian'
|
- "debian"
|
||||||
- 'repositories'
|
- "repositories"
|
||||||
- 'packages'
|
- "packages"
|
||||||
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: "Include manage_repositories"
|
- name: "Include manage_repositories"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_repositories"
|
name: "ednz_cloud.manage_repositories"
|
||||||
|
@ -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_repositories"
|
- name: "Include ednz_cloud.manage_repositories"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_repositories"
|
name: "ednz_cloud.manage_repositories"
|
||||||
|
@ -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
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: "Include manage_repositories"
|
- name: "Include manage_repositories"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_repositories"
|
name: "ednz_cloud.manage_repositories"
|
||||||
|
@ -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 @@
|
|||||||
- name: Converge
|
- name: Converge
|
||||||
hosts: all
|
hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Include ednxzu.manage_repositories"
|
- name: "Include ednz_cloud.manage_repositories"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "ednxzu.manage_repositories"
|
name: "ednz_cloud.manage_repositories"
|
||||||
|
@ -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_repositories
|
# task/prerequisites file for manage_repositories
|
||||||
- name: "Install python dependencies"
|
- name: "Install python dependencies"
|
||||||
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_repositories_required_packages }}"
|
manage_apt_packages_list: "{{ manage_repositories_required_packages }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user