From 57039dd3a6c63e42a656a32bd87efbe8b417a251 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Mon, 5 Feb 2024 22:19:46 +0100 Subject: [PATCH] feat(core): change namespace --- .github/workflows/publish.yml | 4 +++- README.md | 4 ++-- meta/main.yml | 20 +++++++++---------- molecule/default/converge.yml | 2 +- molecule/default/requirements.yml | 2 +- molecule/default_vagrant/converge.yml | 4 ++-- molecule/default_vagrant/requirements.yml | 2 +- molecule/with_custom_repo/converge.yml | 2 +- molecule/with_custom_repo/requirements.yml | 2 +- .../with_custom_repo_vagrant/converge.yml | 4 ++-- .../with_custom_repo_vagrant/requirements.yml | 2 +- tasks/prerequisites.yml | 2 +- 12 files changed, 26 insertions(+), 24 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 784f2c9..e57e864 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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_repositories diff --git a/README.md b/README.md index fe12c6b..1754adb 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Example Playbook # calling the role inside a playbook with either the default or group_vars/host_vars - hosts: servers roles: - - ednxzu.manage_repositories + - ednz_cloud.manage_repositories ``` ```yaml @@ -68,7 +68,7 @@ Example Playbook tasks: - name: "Configure hashicorp repository" ansible.builtin.include_role: - name: ednxzu.manage_repositories + name: ednz_cloud.manage_repositories vars: manage_repositories_enable_default_repo: false manage_repositories_enable_custom_repo: true diff --git a/meta/main.yml b/meta/main.yml index 9312771..8edaafe 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,12 +1,12 @@ --- # meta file for manage_repositories galaxy_info: - namespace: 'ednxzu' - role_name: 'manage_repositories' - author: 'Bertrand Lanson' - description: 'Repository management for debian-based distros.' - license: 'license (BSD, MIT)' - min_ansible_version: '2.10' + namespace: "ednz_cloud" + role_name: "manage_repositories" + author: "Bertrand Lanson" + description: "Repository management for debian-based distros." + license: "license (BSD, MIT)" + min_ansible_version: "2.10" platforms: - name: Ubuntu versions: @@ -17,9 +17,9 @@ galaxy_info: - bullseye - bookworm galaxy_tags: - - 'ubuntu' - - 'debian' - - 'repositories' - - 'packages' + - "ubuntu" + - "debian" + - "repositories" + - "packages" dependencies: [] diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index 8374463..9450d01 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -5,4 +5,4 @@ tasks: - name: "Include manage_repositories" ansible.builtin.include_role: - name: "ednxzu.manage_repositories" + name: "ednz_cloud.manage_repositories" diff --git a/molecule/default/requirements.yml b/molecule/default/requirements.yml index ca250b7..329e789 100644 --- a/molecule/default/requirements.yml +++ b/molecule/default/requirements.yml @@ -1,4 +1,4 @@ --- # requirements file for molecule roles: - - name: ednxzu.manage_apt_packages + - name: ednz_cloud.manage_apt_packages diff --git a/molecule/default_vagrant/converge.yml b/molecule/default_vagrant/converge.yml index 8d9e40b..6c4893b 100644 --- a/molecule/default_vagrant/converge.yml +++ b/molecule/default_vagrant/converge.yml @@ -3,6 +3,6 @@ hosts: all become: true tasks: - - name: "Include ednxzu.manage_repositories" + - name: "Include ednz_cloud.manage_repositories" ansible.builtin.include_role: - name: "ednxzu.manage_repositories" + name: "ednz_cloud.manage_repositories" diff --git a/molecule/default_vagrant/requirements.yml b/molecule/default_vagrant/requirements.yml index ca250b7..329e789 100644 --- a/molecule/default_vagrant/requirements.yml +++ b/molecule/default_vagrant/requirements.yml @@ -1,4 +1,4 @@ --- # requirements file for molecule roles: - - name: ednxzu.manage_apt_packages + - name: ednz_cloud.manage_apt_packages diff --git a/molecule/with_custom_repo/converge.yml b/molecule/with_custom_repo/converge.yml index 8374463..9450d01 100644 --- a/molecule/with_custom_repo/converge.yml +++ b/molecule/with_custom_repo/converge.yml @@ -5,4 +5,4 @@ tasks: - name: "Include manage_repositories" ansible.builtin.include_role: - name: "ednxzu.manage_repositories" + name: "ednz_cloud.manage_repositories" diff --git a/molecule/with_custom_repo/requirements.yml b/molecule/with_custom_repo/requirements.yml index ca250b7..329e789 100644 --- a/molecule/with_custom_repo/requirements.yml +++ b/molecule/with_custom_repo/requirements.yml @@ -1,4 +1,4 @@ --- # requirements file for molecule roles: - - name: ednxzu.manage_apt_packages + - name: ednz_cloud.manage_apt_packages diff --git a/molecule/with_custom_repo_vagrant/converge.yml b/molecule/with_custom_repo_vagrant/converge.yml index 8ebfc23..61d2cd9 100644 --- a/molecule/with_custom_repo_vagrant/converge.yml +++ b/molecule/with_custom_repo_vagrant/converge.yml @@ -2,6 +2,6 @@ - name: Converge hosts: all tasks: - - name: "Include ednxzu.manage_repositories" + - name: "Include ednz_cloud.manage_repositories" ansible.builtin.include_role: - name: "ednxzu.manage_repositories" + name: "ednz_cloud.manage_repositories" diff --git a/molecule/with_custom_repo_vagrant/requirements.yml b/molecule/with_custom_repo_vagrant/requirements.yml index ca250b7..329e789 100644 --- a/molecule/with_custom_repo_vagrant/requirements.yml +++ b/molecule/with_custom_repo_vagrant/requirements.yml @@ -1,4 +1,4 @@ --- # requirements file for molecule roles: - - name: ednxzu.manage_apt_packages + - name: ednz_cloud.manage_apt_packages diff --git a/tasks/prerequisites.yml b/tasks/prerequisites.yml index 6e851f1..cb0a647 100644 --- a/tasks/prerequisites.yml +++ b/tasks/prerequisites.yml @@ -2,6 +2,6 @@ # task/prerequisites file for manage_repositories - name: "Install python dependencies" ansible.builtin.include_role: - name: ednxzu.manage_apt_packages + name: ednz_cloud.manage_apt_packages vars: manage_apt_packages_list: "{{ manage_repositories_required_packages }}"