Fix linting stuff
This commit is contained in:
parent
c3d0049b18
commit
8eeb3e77a6
|
@ -4,4 +4,4 @@ enable_list:
|
|||
warn_list:
|
||||
- role-name
|
||||
- var-naming
|
||||
- yaml[truthy]
|
||||
- yaml[truthy]
|
||||
|
|
|
@ -43,4 +43,4 @@ jobs:
|
|||
ansible-lint --version
|
||||
yamllint --version
|
||||
yamllint --format parsable .
|
||||
ansible-lint -v
|
||||
ansible-lint -v
|
||||
|
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.vscode/
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
6
main.yml
6
main.yml
|
@ -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 }
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -41,4 +41,4 @@
|
|||
community.general.pacman:
|
||||
update_cache: yes
|
||||
upgrade: yes
|
||||
become: true
|
||||
become: true
|
||||
|
|
|
@ -68,4 +68,4 @@
|
|||
- opencl-nvidia
|
||||
state: present
|
||||
become: true
|
||||
when: "'nvidia' in gpu_result.stdout.lower()"
|
||||
when: "'nvidia' in gpu_result.stdout.lower()"
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
ansible.builtin.systemd:
|
||||
name: gdm.service
|
||||
enabled: yes
|
||||
become: true
|
||||
become: true
|
||||
|
|
|
@ -27,4 +27,4 @@
|
|||
state: present
|
||||
use: "{{ aur_helper }}"
|
||||
become: true
|
||||
become_user: aur_builder
|
||||
become_user: aur_builder
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
state: present
|
||||
remote: flathub
|
||||
become: true
|
||||
become_user: "{{ user.name }}"
|
||||
become_user: "{{ user.name }}"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
community.general.pacman:
|
||||
name: "{{ base_fonts }}"
|
||||
state: present
|
||||
become: true
|
||||
become: true
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user