Compare commits
52
Commits
0.1.2
..
0538a2c51f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0538a2c51f
|
||
|
|
b06923c3e2 | ||
|
|
33cc80a98a
|
||
|
|
2e75302fe4 | ||
|
|
dbb9b1ef5f
|
||
|
|
7a6451afe9 | ||
|
|
669e4377c1
|
||
|
|
40148b6e49 | ||
|
|
20f2ae00f0
|
||
|
|
84322618d8 | ||
|
|
7acf4f48b6
|
||
|
|
b06650e236 | ||
|
|
17b19c510f
|
||
|
|
4739b8cd6f
|
||
|
|
87a7156f3c | ||
|
|
74ae86bfb3
|
||
|
|
ed4d6b0b7e | ||
|
|
4ce688b775
|
||
|
|
c1cf978c42
|
||
|
|
c097c3f192
|
||
|
|
107744ad18
|
||
|
|
f4c2926f96
|
||
|
|
f2fae4c594
|
||
|
|
df9dcffff5
|
||
|
|
db57815641 | ||
|
|
c68be1b98c
|
||
|
|
aa8a6d96f2 | ||
|
|
659d3ca3c1
|
||
|
|
948144f1bc | ||
|
|
65abe24f40
|
||
|
|
ef6b3f4b6b | ||
|
|
6fd76c232d
|
||
|
|
528f2d492c | ||
|
|
730b4197cd
|
||
|
|
d471d303fb
|
||
|
|
6b31a16ffb | ||
|
|
71de856c95
|
||
|
|
658b7f480a | ||
|
|
460ba3bc65
|
||
|
|
4e96829245 | ||
|
|
253db6e440
|
||
|
|
3bb8e64383 | ||
|
|
5be84236d2
|
||
|
|
c8860ec066 | ||
|
|
1d185ddc42
|
||
|
|
bbc2367c53 | ||
|
|
3b80136e3e | ||
|
|
f094e88935
|
||
|
|
f620af1b12
|
||
|
|
b35163be63
|
||
|
|
a50a122fc8 | ||
|
|
2f0e1319b1
|
No files matched your search
@@ -12,9 +12,9 @@ jobs:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||
- name: Run ansible-lint
|
||||
uses: ansible/ansible-lint@v25.8.1
|
||||
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@v4.3.0
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v20.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
+14
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"ansible.python.interpreterPath": "/bin/python",
|
||||
"files.associations": {
|
||||
"**/.gitea/**/*.yml": "yaml",
|
||||
"**/.gitea/**/*.yaml": "yaml",
|
||||
"docker-compose*.yml": "dockercompose",
|
||||
"*.yml": "ansible",
|
||||
"*.yaml": "ansible",
|
||||
".yamllint": "yaml",
|
||||
".yamllint.yml": "yaml",
|
||||
".yamllint.yaml": "yaml"
|
||||
},
|
||||
"rewrap.wrappingColumn": 120
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
@@ -7,18 +7,18 @@
|
||||
|
||||
- name: "Create git config directory for unix user: {{ item.key }}"
|
||||
ansible.builtin.file:
|
||||
dest: "{{ getent_passwd[item.key][4] }}/.config/git"
|
||||
dest: "{{ ansible_facts['getent_passwd'][item.key][4] }}/.config/git"
|
||||
owner: "{{ item.key }}"
|
||||
group: "{{ getent_passwd[item.key][2] }}"
|
||||
group: "{{ ansible_facts['getent_passwd'][item.key][2] }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Create global git config files
|
||||
ansible.builtin.template:
|
||||
src: "{{ filename }}.j2"
|
||||
dest: "{{ getent_passwd[item.key][4] }}/{{ filename }}"
|
||||
dest: "{{ ansible_facts['getent_passwd'][item.key][4] }}/{{ filename }}"
|
||||
owner: "{{ item.key }}"
|
||||
group: "{{ getent_passwd[item.key][2] }}"
|
||||
group: "{{ ansible_facts['getent_passwd'][item.key][2] }}"
|
||||
mode: "0644"
|
||||
with_items:
|
||||
- .config/git/allowedSignersFile
|
||||
@@ -1,7 +1,17 @@
|
||||
---
|
||||
|
||||
- name: Include OS-specific variables
|
||||
ansible.builtin.include_vars: "{{ ansible_os_family }}.yml"
|
||||
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: Install git and dependencies
|
||||
vars:
|
||||
@@ -19,6 +29,6 @@
|
||||
with_items: "{{ _git_package_names }}"
|
||||
|
||||
- name: Configure git
|
||||
ansible.builtin.include_tasks: git_user.yml
|
||||
ansible.builtin.include_tasks: git_user.yaml
|
||||
with_dict:
|
||||
- "{{ git_users }}"
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user