mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-04-19 14:32:09 +07:00
Compare commits
1 Commits
master
...
79b1c50295
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79b1c50295 |
15
.github/workflows/galaxy.yml
vendored
15
.github/workflows/galaxy.yml
vendored
@@ -12,7 +12,14 @@ jobs:
|
|||||||
- name: Fetch code
|
- name: Fetch code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: galaxy
|
- name: Set up Python 3.
|
||||||
uses: robertdebock/galaxy-action@1.2.0
|
uses: actions/setup-python@v5
|
||||||
with:
|
|
||||||
galaxy_api_key: ${{ secrets.GALAXY_API_KEY }}
|
- 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
|
||||||
|
|||||||
@@ -6,4 +6,4 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Include role
|
- name: Include role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "hanxhx.mysql"
|
name: "HanXHX.mysql"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Include role
|
- name: Include role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "hanxhx.mysql"
|
name: "HanXHX.mysql"
|
||||||
|
|
||||||
- name: COPY | Deploy first dump
|
- name: COPY | Deploy first dump
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
@@ -33,4 +33,4 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Include role
|
- name: Include role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "hanxhx.mysql"
|
name: "HanXHX.mysql"
|
||||||
|
|||||||
@@ -6,4 +6,4 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Include role
|
- name: Include role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "hanxhx.mysql"
|
name: "HanXHX.mysql"
|
||||||
|
|||||||
Reference in New Issue
Block a user