⚗️ Try import role in galaxy
							parent
							
								
									f882afd7d9
								
							
						
					
					
						commit
						79b1c50295
					
				|  | @ -1,9 +1,10 @@ | ||||||
| --- | --- | ||||||
| 
 | 
 | ||||||
| warn_list: [] | warn_list: | ||||||
| 
 |  | ||||||
| skip_list: |  | ||||||
|   - role-name |   - role-name | ||||||
|  |   - schema[meta] | ||||||
|  | 
 | ||||||
|  | skip_list: [] | ||||||
| 
 | 
 | ||||||
| exclude_paths: | exclude_paths: | ||||||
|   - venv/ |   - venv/ | ||||||
|  |  | ||||||
|  | @ -11,7 +11,15 @@ jobs: | ||||||
|     steps: |     steps: | ||||||
|       - name: Fetch code |       - name: Fetch code | ||||||
|         uses: actions/checkout@v4 |         uses: actions/checkout@v4 | ||||||
|       - name: galaxy | 
 | ||||||
|         uses: robertdebock/galaxy-action@1.2.0 |       - name: Set up Python 3. | ||||||
|         with: |         uses: actions/setup-python@v5 | ||||||
|           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 | ||||||
|  |  | ||||||
|  | @ -1,5 +1,6 @@ | ||||||
| --- | --- | ||||||
| galaxy_info: | galaxy_info: | ||||||
|  |   namespace: hanxhx | ||||||
|   role_name: mysql |   role_name: mysql | ||||||
|   author: Emilien Mantel |   author: Emilien Mantel | ||||||
|   description: Install and configure MariaDB (and Galera Cluster) on Debian |   description: Install and configure MariaDB (and Galera Cluster) on Debian | ||||||
|  |  | ||||||
|  | @ -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" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue