1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_linux_desktop_setup.git synced 2024-09-14 19:54:51 +02:00

Merge branch 'main' of github.com:DO1JLR/ansible_thinkpad_setup

This commit is contained in:
L3D 2021-03-12 12:49:17 +01:00
commit 78fcc7a838
Signed by: l3d
GPG key ID: CD08445BFF4313D1
13 changed files with 131 additions and 80 deletions

2
.github/FUNDING.yml vendored
View file

@ -1,5 +1,5 @@
---
# These are supported funding model platforms # These are supported funding model platforms
github: [DO1JLR] github: [DO1JLR]
liberapay: L3D liberapay: L3D
custom: https://paypal.me/c3woc

View file

@ -0,0 +1,18 @@
---
name: Ansible Lint check
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
with:
targets: "site.yml"

22
.github/workflows/yamllint.yaml vendored Normal file
View file

@ -0,0 +1,22 @@
---
name: 'Yamllint GitHub Actions'
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
yamllint:
name: 'Yamllint'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Yamllint'
uses: karancode/yamllint-github-action@master
with:
yamllint_file_or_dir: '.'
yamllint_config_filepath: './.yamllint'
yamllint_strict: false
yamllint_comment: true
# env:
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }

2
.gitmodules vendored
View file

@ -33,7 +33,7 @@
url = https://github.com/roles-ansible/role_akku_warning.git url = https://github.com/roles-ansible/role_akku_warning.git
[submodule "roles/install-firefox"] [submodule "roles/install-firefox"]
path = roles/install-firefox path = roles/install-firefox
url = https://github.com/chaos-bodensee/role-firefox-installation.git url = https://github.com/roles-ansible/ansible_role_install_firefox.git
[submodule "roles/xrandr"] [submodule "roles/xrandr"]
path = roles/xrandr path = roles/xrandr
url = https://github.com/chaos-bodensee/role-xrandr.git url = https://github.com/chaos-bodensee/role-xrandr.git

11
.yamllint Normal file
View file

@ -0,0 +1,11 @@
---
extends: default
rules:
# 150 chars should be enough, but don't fail if a line is longer
line-length:
max: 180
level: warning
ignore: |
roles/

View file

@ -90,4 +90,4 @@ Or create a new git repo and be inspired by the roles L3D uses.
------------ ------------
If you find this usefull please take a few secounds and say thankyou to L3D. If you find this usefull please take a few secounds and say thankyou to L3D.
He is at the most [chaos ecents](https://events.ccc.de), simple give him a Tschunk or Club Mate there! He is at the most [chaos events](https://events.ccc.de), simple give him a Tschunk or Club Mate there!

View file

@ -4,7 +4,18 @@
# #
# enable keychain as ssh agent # enable keychain as ssh agent
dotfiles__additional_user_bashrc_lines: dotfiles__additional_user_bashrc_lines:
- eval $(keychain --eval --quiet id_ed25519) - 'eval $(keychain --eval --quiet id_ed25519)'
- '_gopass_bash_autocomplete() {'
- ' local cur opts base'
- ' COMPREPLY=()'
- ' cur="${COMP_WORDS[COMP_CWORD]}"'
- ' opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )'
- " local IFS=$'\n'"
- ' COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )'
- ' return 0'
- '}'
- 'complete -F _gopass_bash_autocomplete gopass'
# roles/authorized_keys # roles/authorized_keys
# #
@ -41,7 +52,6 @@ i3_keybindings_extra:
key: XF86MonBrightnessUp key: XF86MonBrightnessUp
exec: --no-startup-id sudo light -A 6 exec: --no-startup-id sudo light -A 6
i3_applications: i3_applications:
- application: - application:
class: "firefox" class: "firefox"
@ -55,12 +65,8 @@ i3_applications:
on_startup: true on_startup: true
i3_run_on_startup: i3_run_on_startup:
- nextcloud # - nextcloud
- sudo nm-applet - sudo nm-applet
# globaly enably simple versionscheck - if available # globaly enably simple versionscheck - if available
submodules_versioncheck: true submodules_versioncheck: true

View file

@ -43,4 +43,3 @@ i3_monitors:
wine_user: "lilian" wine_user: "lilian"
akku_user: "lilian" akku_user: "lilian"
wine_user_home: "/home/lilian" wine_user_home: "/home/lilian"

View file

@ -21,4 +21,3 @@ copy_to_user: "{{ akku_user }}"
wine_user: "{{ akku_user }}" wine_user: "{{ akku_user }}"
wine_user_home: "/home/{{ akku_user }}" wine_user_home: "/home/{{ akku_user }}"
copy_to_user: "{{ akku_user }}"

@ -1 +1 @@
Subproject commit 1938bf214dba9b7d19a54686abc79b16f729fd43 Subproject commit 0699f5e1e1eb2c48300fb946be9ab333df3d08cf

@ -1 +1 @@
Subproject commit ee9709d0fcd563e54dd928655f5d0f0c285d5b31 Subproject commit 31fbb5b16c58e057b966c9f2371c50ab3e9160c8

@ -1 +1 @@
Subproject commit 8d5e1f32ba5930e9a12d01688a9af8c5e55395c0 Subproject commit 3ea0eadf22a136b517829cd3de5807ad43f61cf6

View file

@ -1,12 +1,8 @@
--- ---
- name: check if ansible is not to old - name: check if ansible is not to old
hosts: localhost hosts: localhost
tags:
- default
- always
roles: roles:
- ansible_version - {role: ansible_version, tags: always, gather_facts: false}
gather_facts: no
- name: run base setup roles - name: run base setup roles
hosts: localhost hosts: localhost