⚗️ Try import role in galaxy
parent
f882afd7d9
commit
79b1c50295
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
|
||||
warn_list: []
|
||||
|
||||
skip_list:
|
||||
warn_list:
|
||||
- role-name
|
||||
- schema[meta]
|
||||
|
||||
skip_list: []
|
||||
|
||||
exclude_paths:
|
||||
- venv/
|
||||
|
|
|
@ -11,7 +11,15 @@ jobs:
|
|||
steps:
|
||||
- name: Fetch code
|
||||
uses: actions/checkout@v4
|
||||
- name: galaxy
|
||||
uses: robertdebock/galaxy-action@1.2.0
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||
|
||||
- name: Set up Python 3.
|
||||
uses: actions/setup-python@v5
|
||||
|
||||
- name: Install Ansible.
|
||||
run: pip3 install ansible-core
|
||||
|
||||
- name: Import role to Galaxy.
|
||||
run: >-
|
||||
ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }}
|
||||
$(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
|
||||
--branch fix_galaxy
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
galaxy_info:
|
||||
namespace: hanxhx
|
||||
role_name: mysql
|
||||
author: Emilien Mantel
|
||||
description: Install and configure MariaDB (and Galera Cluster) on Debian
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
tasks:
|
||||
- name: Include role
|
||||
ansible.builtin.include_role:
|
||||
name: "hanxhx.mysql"
|
||||
name: "HanXHX.mysql"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
tasks:
|
||||
- name: Include role
|
||||
ansible.builtin.include_role:
|
||||
name: "hanxhx.mysql"
|
||||
name: "HanXHX.mysql"
|
||||
|
||||
- name: COPY | Deploy first dump
|
||||
ansible.builtin.copy:
|
||||
|
@ -33,4 +33,4 @@
|
|||
tasks:
|
||||
- name: Include role
|
||||
ansible.builtin.include_role:
|
||||
name: "hanxhx.mysql"
|
||||
name: "HanXHX.mysql"
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
tasks:
|
||||
- name: Include role
|
||||
ansible.builtin.include_role:
|
||||
name: "hanxhx.mysql"
|
||||
name: "HanXHX.mysql"
|
||||
|
|
Loading…
Reference in New Issue