feat(core): change namespace
All checks were successful
test / Linting (push) Successful in 7s
test / Molecule tests (default, debian11) (push) Successful in 1m2s
test / Molecule tests (default, debian12) (push) Successful in 1m7s
test / Molecule tests (default, ubuntu2204) (push) Successful in 57s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m25s
test / Molecule tests (with_custom_ascii, debian11) (push) Successful in 52s
test / Molecule tests (with_custom_ascii, debian12) (push) Successful in 55s
test / Molecule tests (with_custom_ascii, ubuntu2004) (push) Successful in 56s
test / Molecule tests (with_custom_ascii, ubuntu2204) (push) Successful in 1m50s

This commit is contained in:
Bertrand Lanson 2024-02-05 22:32:54 +01:00
parent 2ed6f6ce8b
commit c4b84d88c2
12 changed files with 28 additions and 26 deletions

View File

@ -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: update_motd

View File

@ -31,7 +31,7 @@ These are one to one identical to the neofetch modules. Documentation on the dif
Dependencies Dependencies
------------ ------------
`ednxzu.manage_apt_packages` to install neofetch for the motd. `ednz_cloud.manage_apt_packages` to install neofetch for the motd.
Example Playbook Example Playbook
---------------- ----------------
@ -40,7 +40,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.update_motd - ednz_cloud.update_motd
``` ```
License License

View File

@ -1,11 +1,11 @@
--- ---
galaxy_info: galaxy_info:
namespace: 'ednxzu' namespace: "ednz_cloud"
role_name: 'update_motd' role_name: "update_motd"
author: 'Bertrand Lanson' author: "Bertrand Lanson"
description: 'Manage MOTD for debian-based distros using neofetch.' description: "Manage MOTD for debian-based distros using neofetch."
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:
@ -16,9 +16,9 @@ galaxy_info:
- bullseye - bullseye
- bookworm - bookworm
galaxy_tags: galaxy_tags:
- 'ubuntu' - "ubuntu"
- 'debian' - "debian"
- 'motd' - "motd"
- 'sshd' - "sshd"
dependencies: [] dependencies: []

View File

@ -3,6 +3,6 @@
hosts: all hosts: all
become: true become: true
tasks: tasks:
- name: "Include ednxzu.update_motd" - name: "Include ednz_cloud.update_motd"
ansible.builtin.include_role: ansible.builtin.include_role:
name: "ednxzu.update_motd" name: "ednz_cloud.update_motd"

View File

@ -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

View File

@ -3,6 +3,6 @@
hosts: all hosts: all
become: true become: true
tasks: tasks:
- name: "Include ednxzu.update_motd" - name: "Include ednz_cloud.update_motd"
ansible.builtin.include_role: ansible.builtin.include_role:
name: "ednxzu.update_motd" name: "ednz_cloud.update_motd"

View File

@ -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

View File

@ -3,6 +3,6 @@
hosts: all hosts: all
become: true become: true
tasks: tasks:
- name: "Include ednxzu.update_motd" - name: "Include ednz_cloud.update_motd"
ansible.builtin.include_role: ansible.builtin.include_role:
name: "ednxzu.update_motd" name: "ednz_cloud.update_motd"

View File

@ -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

View File

@ -3,6 +3,6 @@
hosts: all hosts: all
become: true become: true
tasks: tasks:
- name: "Include ednxzu.update_motd" - name: "Include ednz_cloud.update_motd"
ansible.builtin.include_role: ansible.builtin.include_role:
name: "ednxzu.update_motd" name: "ednz_cloud.update_motd"

View File

@ -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

View File

@ -2,6 +2,6 @@
# task/install file for update_motd # task/install file for update_motd
- name: "Install neoftech" - name: "Install neoftech"
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: "{{ update_motd_packages }}" manage_apt_packages_list: "{{ update_motd_packages }}"