Compare commits
35
Commits
0.1.2
..
5189976a74
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5189976a74
|
||
|
|
3b726024a6 | ||
|
|
c5e66cd04a
|
||
|
|
fcc5ba6efa | ||
|
|
dfc4688504
|
||
|
|
0343b47905 | ||
|
|
4fc2c4ead9
|
||
|
|
da1c02abec | ||
|
|
2ec3ab8117
|
||
|
|
71d8b991e5 | ||
|
|
e94f04809b
|
||
|
|
a248f96436 | ||
|
|
7b5bb365c5
|
||
|
|
bc059ab046 | ||
|
|
a2dc579d3f
|
||
|
|
3c9568be0d | ||
|
|
14756c9c10
|
||
|
|
6d7abcaa79
|
||
|
|
161d72089e
|
||
|
|
58d25578d7
|
||
|
|
3af115d465
|
||
|
|
a8e2ba74ee
|
||
|
|
b946da2d8d
|
||
|
|
79f34eb179 | ||
|
|
8b4aa30051
|
||
|
|
75793805af | ||
|
|
a0eef04414
|
||
|
|
29f312ef07 | ||
|
|
316c642cf4
|
||
|
|
e315f71fea | ||
|
|
fc9dc7a034
|
||
|
|
ea17bd56a5 | ||
|
|
dc4e741b85
|
||
|
|
6679f1602f
|
||
|
|
6469d81fcf
|
@@ -12,9 +12,9 @@ jobs:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5.0.1
|
||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||
- name: Run ansible-lint
|
||||
uses: ansible/ansible-lint@v25.11.0
|
||||
uses: ansible/ansible-lint@262624cd0ab22a4221293216856c59671ce7aa5e # v26.6.0
|
||||
with:
|
||||
args: "--config-file .ansible-lint"
|
||||
setup_python: "true"
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5.0.1
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v21.0.0
|
||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||
- uses: DavidAnson/markdownlint-cli2-action@ded1f9488f68a970bc66ea5619e13e9b52e601cd # v23.2.0
|
||||
with:
|
||||
globs: '**/*.md'
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
name: Release Ansible Role
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '**'
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Release Ansible Role
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Ansible Galaxy
|
||||
run: |
|
||||
apt update --yes
|
||||
apt install --yes ansible
|
||||
- env:
|
||||
ANSIBLE_GALAXY_TOKEN: ${{ secrets.ANSIBLE_GALAXY_TOKEN }}
|
||||
name: Update Ansible Role in Ansible Galaxy
|
||||
run: |
|
||||
ansible-galaxy role import --token=${ANSIBLE_GALAXY_TOKEN} volker-raschek ${GITHUB_REPOSITORY#*/}
|
||||
Vendored
+2
-2
@@ -3,12 +3,12 @@
|
||||
"files.associations": {
|
||||
"**/.gitea/**/*.yml": "yaml",
|
||||
"**/.gitea/**/*.yaml": "yaml",
|
||||
".drone.yml": "yaml",
|
||||
"docker-compose*.yml": "dockercompose",
|
||||
"*.yml": "ansible",
|
||||
"*.yaml": "ansible",
|
||||
".yamllint": "yaml",
|
||||
".yamllint.yml": "yaml",
|
||||
".yamllint.yaml": "yaml"
|
||||
}
|
||||
},
|
||||
"rewrap.wrappingColumn": 120
|
||||
}
|
||||
@@ -1,16 +1,26 @@
|
||||
---
|
||||
|
||||
- name: Load variables
|
||||
ansible.builtin.include_vars: "{{ ansible_facts['os_family'] }}.yml"
|
||||
- name: Include OS-specific variables
|
||||
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||
vars:
|
||||
params:
|
||||
files:
|
||||
- "{{ ansible_facts['distribution'] }}_{{ ansible_facts['architecture'] }}.yaml"
|
||||
- "{{ ansible_facts['distribution'] }}.yaml"
|
||||
- "{{ ansible_facts['os_family'] }}_{{ ansible_facts['architecture'] }}.yaml"
|
||||
- "{{ ansible_facts['os_family'] }}.yaml"
|
||||
- main.yaml
|
||||
paths:
|
||||
- vars
|
||||
|
||||
- name: Verify variables
|
||||
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||
vars:
|
||||
params:
|
||||
files:
|
||||
- "{{ ansible_facts['distribution'] }}_verify_vars.yml"
|
||||
- "{{ ansible_facts['os_family' }}_verify_vars.yml"
|
||||
- "verify_vars.yml"
|
||||
- "{{ ansible_facts['distribution'] }}_verify_vars.yaml"
|
||||
- "{{ ansible_facts['os_family'] }}_verify_vars.yaml"
|
||||
- "verify_vars.yaml"
|
||||
|
||||
- name: Install sudo
|
||||
ansible.builtin.package:
|
||||
Reference in New Issue
Block a user