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 3d65520 commit 28dfb32
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 38 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: deploy_gitea_runner
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This role installs and configure a gitea act runner on **debian-based** distribu
Requirements
------------

If `deploy_gitea_runner_deploy_method` is set to `docker`, this role assumes you have `docker`, `docker-compose` installed on the target hosts. The role will not install these components, but you can install them using the [install_docker](https://github.com/ednxzu/install_docker) role.
If `deploy_gitea_runner_deploy_method` is set to `docker`, this role assumes you have `docker`, `docker-compose` installed on the target hosts. The role will not install these components, but you can install them using the [install_docker](https://github.com/ednz_cloud/install_docker) role.

Role Variables
--------------
Expand Down Expand Up @@ -99,7 +99,7 @@ Example Playbook
# calling the role inside a playbook with either the default or group_vars/host_vars
- hosts: servers
roles:
- ednxzu.deploy_gitea_runner
- ednz_cloud.deploy_gitea_runner
```

License
Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# meta file for deploy_gitea_runner
galaxy_info:
namespace: 'ednxzu'
namespace: 'ednz_cloud'
role_name: 'deploy_gitea_runner'
author: 'Bertrand Lanson'
description: 'Deploy gitea-actions CICD runners on Debian based distributions'
Expand Down
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.deploy_gitea_runner"
- name: "Include ednz_cloud.deploy_gitea_runner"
ansible.builtin.include_role:
name: "ednxzu.deploy_gitea_runner"
name: "ednz_cloud.deploy_gitea_runner"
4 changes: 2 additions & 2 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
hosts: all
become: true
tasks:
- name: "Include ednxzu.install_docker"
- name: "Include ednz_cloud.install_docker"
ansible.builtin.include_role:
name: ednxzu.install_docker
name: ednz_cloud.install_docker
vars:
install_docker_python_packages: true
8 changes: 4 additions & 4 deletions molecule/default/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_repositories
- name: ednxzu.manage_apt_packages
- name: ednxzu.install_docker
- name: ednxzu.docker_systemd_service
- name: ednz_cloud.manage_repositories
- name: ednz_cloud.manage_apt_packages
- name: ednz_cloud.install_docker
- name: ednz_cloud.docker_systemd_service
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.deploy_gitea_runner"
- name: "Include ednz_cloud.deploy_gitea_runner"
ansible.builtin.include_role:
name: "ednxzu.deploy_gitea_runner"
name: "ednz_cloud.deploy_gitea_runner"
4 changes: 2 additions & 2 deletions molecule/default_vagrant/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
hosts: all
become: true
tasks:
- name: "Include ednxzu.install_docker"
- name: "Include ednz_cloud.install_docker"
ansible.builtin.include_role:
name: ednxzu.install_docker
name: ednz_cloud.install_docker
vars:
install_docker_python_packages: true
8 changes: 4 additions & 4 deletions molecule/default_vagrant/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_repositories
- name: ednxzu.manage_apt_packages
- name: ednxzu.install_docker
- name: ednxzu.docker_systemd_service
- name: ednz_cloud.manage_repositories
- name: ednz_cloud.manage_apt_packages
- name: ednz_cloud.install_docker
- name: ednz_cloud.docker_systemd_service
4 changes: 2 additions & 2 deletions molecule/with_docker_host/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.deploy_gitea_runner"
- name: "Include ednz_cloud.deploy_gitea_runner"
ansible.builtin.include_role:
name: "ednxzu.deploy_gitea_runner"
name: "ednz_cloud.deploy_gitea_runner"
4 changes: 2 additions & 2 deletions molecule/with_docker_host/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
hosts: all
become: true
tasks:
- name: "Include ednxzu.install_docker"
- name: "Include ednz_cloud.install_docker"
ansible.builtin.include_role:
name: ednxzu.install_docker
name: ednz_cloud.install_docker
vars:
install_docker_python_packages: true
8 changes: 4 additions & 4 deletions molecule/with_docker_host/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_repositories
- name: ednxzu.manage_apt_packages
- name: ednxzu.install_docker
- name: ednxzu.docker_systemd_service
- name: ednz_cloud.manage_repositories
- name: ednz_cloud.manage_apt_packages
- name: ednz_cloud.install_docker
- name: ednz_cloud.docker_systemd_service
4 changes: 2 additions & 2 deletions molecule/with_docker_host_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.deploy_gitea_runner"
- name: "Include ednz_cloud.deploy_gitea_runner"
ansible.builtin.include_role:
name: "ednxzu.deploy_gitea_runner"
name: "ednz_cloud.deploy_gitea_runner"
4 changes: 2 additions & 2 deletions molecule/with_docker_host_vagrant/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
hosts: all
become: true
tasks:
- name: "Include ednxzu.install_docker"
- name: "Include ednz_cloud.install_docker"
ansible.builtin.include_role:
name: ednxzu.install_docker
name: ednz_cloud.install_docker
vars:
install_docker_python_packages: true
8 changes: 4 additions & 4 deletions molecule/with_docker_host_vagrant/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_repositories
- name: ednxzu.manage_apt_packages
- name: ednxzu.install_docker
- name: ednxzu.docker_systemd_service
- name: ednz_cloud.manage_repositories
- name: ednz_cloud.manage_apt_packages
- name: ednz_cloud.install_docker
- name: ednz_cloud.docker_systemd_service
4 changes: 2 additions & 2 deletions tasks/install_docker.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
# task/install_docker file for deploy_gitea_runner
- name: "Include ednxzu.docker_systemd_service"
- name: "Include ednz_cloud.docker_systemd_service"
ansible.builtin.include_role:
name: ednxzu.docker_systemd_service
name: ednz_cloud.docker_systemd_service
vars:
docker_systemd_service_container_name: "{{ deploy_gitea_runner_name }}"
docker_systemd_service_image: "gitea/act_runner:{{ deploy_gitea_runner_version }}"
Expand Down

0 comments on commit 28dfb32

Please sign in to comment.