Fix linting stuff
All checks were successful
Lint / Lint (3.11) (push) Successful in 1m50s
Lint / Lint (3.10) (push) Successful in 1m57s

This commit is contained in:
Ariejan de Vroom 2024-06-07 09:04:58 +02:00
parent c3d0049b18
commit 8eeb3e77a6
Signed by: ariejan
GPG Key ID: AD739154F713697B
15 changed files with 24 additions and 22 deletions

View File

@ -4,4 +4,4 @@ enable_list:
warn_list:
- role-name
- var-naming
- yaml[truthy]
- yaml[truthy]

View File

@ -43,4 +43,4 @@ jobs:
ansible-lint --version
yamllint --version
yamllint --format parsable .
ansible-lint -v
ansible-lint -v

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.vscode/

View File

@ -2,7 +2,7 @@
extends: default
ignore: |
.github/workflows/main.yml
.gitea/workflows/lint.yml
rules:
braces:
@ -14,4 +14,4 @@ rules:
- "yes"
- "true"
- "no"
- "false"
- "false"

View File

@ -1,3 +1,4 @@
---
user:
name: ariejan
password: $1$$$CW5QNaFq/vWd019fB9a/H.
@ -5,7 +6,7 @@ user:
primary_group: users
additional_groups: docker,wheel
shell: /bin/zsh
country: Netherlands
country: Netherlands
pacman:
parallel_downloads: 10
@ -78,4 +79,4 @@ base_fonts:
- otf-cascadia-code
- ttf-cascadia-code
- ttf-hack
- ttf-hack-nerd
- ttf-hack-nerd

View File

@ -2,9 +2,9 @@
- name: Ariejan's Arch Linux
hosts: all
roles:
- { role: 01_host_info }
- { role: 02_basics }
- { role: 01_host_info }
- { role: 02_basics }
- { role: 03_wayland }
- { role: 04_desktop }
- { role: 05_packages }
- { role: 07_user }
- { role: 07_user }

View File

@ -5,4 +5,4 @@ collections:
source: https://galaxy.ansible.com
- name: kewlfft.aur
version: 0.11.1
source: https://galaxy.ansible.com
source: https://galaxy.ansible.com

View File

@ -41,4 +41,4 @@
community.general.pacman:
update_cache: yes
upgrade: yes
become: true
become: true

View File

@ -68,4 +68,4 @@
- opencl-nvidia
state: present
become: true
when: "'nvidia' in gpu_result.stdout.lower()"
when: "'nvidia' in gpu_result.stdout.lower()"

View File

@ -17,4 +17,4 @@
ansible.builtin.systemd:
name: gdm.service
enabled: yes
become: true
become: true

View File

@ -27,4 +27,4 @@
state: present
use: "{{ aur_helper }}"
become: true
become_user: aur_builder
become_user: aur_builder

View File

@ -12,4 +12,4 @@
state: present
remote: flathub
become: true
become_user: "{{ user.name }}"
become_user: "{{ user.name }}"

View File

@ -3,4 +3,4 @@
community.general.pacman:
name: "{{ base_fonts }}"
state: present
become: true
become: true

View File

@ -1,6 +1,6 @@
---
- name: Install Arch packages
ansible.builtin.pacman:
community.general.pacman:
name: "{{ packages }}"
state: present
become: true
@ -12,4 +12,4 @@
ansible.builtin.import_tasks: aur.yml
- name: Install flatpaks
ansible.builtin.import_tasks: flatpak.yml
ansible.builtin.import_tasks: flatpak.yml

View File

@ -1,13 +1,13 @@
---
- name: Make sure we have a 'wheel' group
group:
ansible.builtin.group:
name: wheel
state: present
- name: Create user
ansible.builtin.user:
name: "{{ user.name }}"
# Use: openssl passwd -salt <salt> -1 <plaintext>
# Use: openssl passwd -salt <salt> -1 <plaintext>
password: "{{ user.password }}"
update_password: on_create
comment: "{{ user.full_name }}"
@ -24,4 +24,4 @@
content: "{{ user.name }} ALL=(ALL:ALL) ALL"
mode: 0440
validate: /usr/sbin/visudo -cf %s
become: true
become: true