mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
commit
8a83c82126
13 changed files with 44 additions and 25 deletions
9
.github/dependabot.yml
vendored
Normal file
9
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
# See https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
14
.github/workflows/ansible-linting-check.yml
vendored
14
.github/workflows/ansible-linting-check.yml
vendored
|
@ -2,26 +2,22 @@
|
||||||
name: Ansible Lint check
|
name: Ansible Lint check
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
# yamllint disable-line rule:truthy
|
||||||
on:
|
on: [push, pull_request]
|
||||||
push:
|
|
||||||
branches: '*'
|
|
||||||
pull_request:
|
|
||||||
branches: '*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Ansible Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'checkout git repo'
|
- name: 'checkout git repo'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3.5.3
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: 'Lint Ansible Playbook'
|
- name: 'Lint Ansible Playbook'
|
||||||
uses: ansible/ansible-lint-action@v6
|
uses: ansible/ansible-lint-action@v6.17.0
|
||||||
with:
|
with:
|
||||||
path: "."
|
path: "site.yml"
|
||||||
|
|
3
.github/workflows/pylint.yml
vendored
3
.github/workflows/pylint.yml
vendored
|
@ -10,6 +10,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'Checkout'
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3.5.3
|
||||||
|
|
||||||
- name: GitHub Action for pylint
|
- name: GitHub Action for pylint
|
||||||
uses: cclauss/GitHub-Action-for-pylint@0.7.0
|
uses: cclauss/GitHub-Action-for-pylint@0.7.0
|
||||||
|
|
9
.github/workflows/yamllint.yaml
vendored
9
.github/workflows/yamllint.yaml
vendored
|
@ -9,12 +9,11 @@ jobs:
|
||||||
name: 'Yamllint'
|
name: 'Yamllint'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'checkout git repo'
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3.5.3
|
||||||
|
|
||||||
- name: 'Yamllint'
|
- name: 'Yamllint'
|
||||||
uses: karancode/yamllint-github-action@master
|
uses: karancode/yamllint-github-action@v2.1.1
|
||||||
with:
|
with:
|
||||||
yamllint_file_or_dir: '.'
|
yamllint_file_or_dir: '.'
|
||||||
yamllint_config_filepath: './.yamllint'
|
yamllint_config_filepath: './.yamllint'
|
||||||
yamllint_strict: false
|
|
||||||
yamllint_comment: true
|
|
||||||
|
|
9
.gitmodules
vendored
9
.gitmodules
vendored
|
@ -16,7 +16,7 @@
|
||||||
branch = main
|
branch = main
|
||||||
[submodule "files/admin_ssh_keys"]
|
[submodule "files/admin_ssh_keys"]
|
||||||
path = files/admin_ssh_keys
|
path = files/admin_ssh_keys
|
||||||
url = https://backwesen.de/ansible/ssh_public_keys.git
|
url = https://git.l3d.ch/ansible/ssh_public_keys.git
|
||||||
branch = main
|
branch = main
|
||||||
[submodule "roles/sshd"]
|
[submodule "roles/sshd"]
|
||||||
path = roles/do1jlr.sshd
|
path = roles/do1jlr.sshd
|
||||||
|
@ -62,10 +62,6 @@
|
||||||
path = roles/ansible_version
|
path = roles/ansible_version
|
||||||
url = https://github.com/chaos-bodensee/role-ansible_version.git
|
url = https://github.com/chaos-bodensee/role-ansible_version.git
|
||||||
branch = main
|
branch = main
|
||||||
[submodule "roles/base"]
|
|
||||||
path = roles/do1jlr.base
|
|
||||||
url = https://github.com/roles-ansible/ansible_role_base.git
|
|
||||||
branch = main
|
|
||||||
[submodule "roles/amdgpu_firmware"]
|
[submodule "roles/amdgpu_firmware"]
|
||||||
path = roles/amdgpu_firmware
|
path = roles/amdgpu_firmware
|
||||||
url = https://github.com/DO1JLR/ansible_role_amdgpu_firmware.git
|
url = https://github.com/DO1JLR/ansible_role_amdgpu_firmware.git
|
||||||
|
@ -91,3 +87,6 @@
|
||||||
[submodule "collections/ansible_collections/l3d/avahi"]
|
[submodule "collections/ansible_collections/l3d/avahi"]
|
||||||
path = collections/ansible_collections/l3d/avahi
|
path = collections/ansible_collections/l3d/avahi
|
||||||
url = https://github.com/roles-ansible/ansible_collection_avahi.git
|
url = https://github.com/roles-ansible/ansible_collection_avahi.git
|
||||||
|
[submodule "roles/l3d.packages"]
|
||||||
|
path = roles/l3d.packages
|
||||||
|
url = https://github.com/roles-ansible/ansible_role_packages.git
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3fd4cdb119b030004267478e0ff43e5da5eb079c
|
Subproject commit a942545dd2ec718993f95db35ac3e988d24e73a5
|
|
@ -70,5 +70,12 @@ i3_run_on_startup:
|
||||||
|
|
||||||
htop__compile: true
|
htop__compile: true
|
||||||
|
|
||||||
|
# roles/do1jlr.base
|
||||||
|
l3d_pkgs__install_advanced: true
|
||||||
|
l3d_pkgs__install_python: true
|
||||||
|
l3d_pkgs__install_cli: true
|
||||||
|
l3d_pkgs__install_extra_packages:
|
||||||
|
- keychain
|
||||||
|
|
||||||
# globaly enably simple versionscheck - if available
|
# globaly enably simple versionscheck - if available
|
||||||
submodules_versioncheck: true
|
submodules_versioncheck: true
|
||||||
|
|
|
@ -18,7 +18,7 @@ i3_packages_extra:
|
||||||
- evince
|
- evince
|
||||||
- speedtest-cli
|
- speedtest-cli
|
||||||
|
|
||||||
i3_font_size: 11
|
i3_font_size: 13
|
||||||
i3_focus_follows_mouse: true
|
i3_focus_follows_mouse: true
|
||||||
|
|
||||||
i3_desktop_background: "/home/{{ user }}/.config/background.png"
|
i3_desktop_background: "/home/{{ user }}/.config/background.png"
|
||||||
|
|
7
host_vars/daringdoo.local.yml
Normal file
7
host_vars/daringdoo.local.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
# l3d.i3wm
|
||||||
|
i3wm_user_list:
|
||||||
|
- user: "l3d"
|
||||||
|
home: "/home/l3d"
|
||||||
|
- user: "lilian"
|
||||||
|
home: "/home/lilian"
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit b0c817c68105a5e4ca12a695e18e117918ba8e42
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit b47b7e2c416be05bbe0b33c099b529ebcb199f1f
|
Subproject commit abf94600b22977fcba30ac83f417bc5a2d22e8ff
|
1
roles/l3d.packages
Submodule
1
roles/l3d.packages
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 5666c1af2323de82ed17449953162d7727c696fe
|
3
site.yml
3
site.yml
|
@ -7,13 +7,14 @@
|
||||||
- name: Generic Workstation Preperation
|
- name: Generic Workstation Preperation
|
||||||
hosts: all
|
hosts: all
|
||||||
roles:
|
roles:
|
||||||
# - {role: do1jlr.base, tags: [default, packages, base]}
|
- {role: l3d.packages, tags: [packages, apt]}
|
||||||
# - {role: workstation_packages, tags: [default, workstation_packages, packages, setup]}
|
# - {role: workstation_packages, tags: [default, workstation_packages, packages, setup]}
|
||||||
- {role: l3d.ntp, tags: ntp}
|
- {role: l3d.ntp, tags: ntp}
|
||||||
- {role: l3d.avahi.client, tags: avahi}
|
- {role: l3d.avahi.client, tags: avahi}
|
||||||
- {role: l3d.avahi.daemon, tags: avahi}
|
- {role: l3d.avahi.daemon, tags: avahi}
|
||||||
- {role: gantsign.bat, tags: bat}
|
- {role: gantsign.bat, tags: bat}
|
||||||
# - {role: arch-fonts, tags: [font, fonts, arch-fonts]}
|
# - {role: arch-fonts, tags: [font, fonts, arch-fonts]}
|
||||||
|
- {role: do1jlr.i3wm, tags: i3wm}
|
||||||
|
|
||||||
# - name: user specific setup
|
# - name: user specific setup
|
||||||
# hosts: private
|
# hosts: private
|
||||||
|
|
Loading…
Reference in a new issue