3 Commits

Author SHA1 Message Date
a4b28d441b fix(ci): add workflow dispatch for releases
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 18s
Lint Markdown files / markdown-lint (push) Successful in 5s
2026-01-11 21:16:12 +01:00
1ec88f37fb fix(ci): use dynamic github repository name
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 19s
Lint Markdown files / markdown-lint (push) Successful in 4s
Release Ansible Role / Release Ansible Role (push) Successful in 56s
2026-01-07 16:09:07 +01:00
09c4173eaf docs(ci): get steps a dedicated name
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 19s
Lint Markdown files / markdown-lint (push) Successful in 4s
2026-01-07 16:02:12 +01:00

View File

@@ -1,12 +1,14 @@
name: Release to Ansible Galaxy name: Release Ansible Role
on: on:
push: push:
tags: tags:
- '**' - '**'
workflow_dispatch: {}
jobs: jobs:
release: release:
name: Release Ansible Role
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install Ansible Galaxy - name: Install Ansible Galaxy
@@ -15,6 +17,6 @@ jobs:
apt install --yes ansible apt install --yes ansible
- env: - env:
ANSIBLE_GALAXY_TOKEN: ${{ secrets.ANSIBLE_GALAXY_TOKEN }} ANSIBLE_GALAXY_TOKEN: ${{ secrets.ANSIBLE_GALAXY_TOKEN }}
name: Update Ansible Galaxy name: Update Ansible Role in Ansible Galaxy
run: | run: |
ansible-galaxy role import --token=${ANSIBLE_GALAXY_TOKEN} volker-raschek ansible-role-unix-users ansible-galaxy role import --token=${ANSIBLE_GALAXY_TOKEN} volker-raschek ${GITHUB_REPOSITORY#*/}