Update linting dependencies

This commit is contained in:
Jake Howard 2023-01-08 15:25:23 +00:00
parent c40e5b4be8
commit 2fdc9e4a18
Signed by: jake
GPG key ID: 57AFB45680EDD477
6 changed files with 12 additions and 10 deletions

View file

@ -1,8 +1,10 @@
skip_list: skip_list:
- 305 - command-instead-of-shell
- 401 - no-handler
- 301 - git-latest
- 503 - fqcn
- name[missing]
- name[play]
exclude_paths: exclude_paths:
- galaxy_roles/ - galaxy_roles/

View file

@ -1,2 +1,2 @@
yamllint==1.25.0 yamllint==1.28.0
ansible-lint==4.3.7 ansible-lint==6.10.2

View file

@ -9,7 +9,7 @@
- name: Load custom variables - name: Load custom variables
include_vars: include_vars:
file: host_vars/{{ ansible_hostname }}.yml file: host_vars/{{ ansible_hostname }}.yml
ignore_errors: true failed_when: false
- import_tasks: tasks/user.yml - import_tasks: tasks/user.yml
- import_tasks: tasks/packages.yml - import_tasks: tasks/packages.yml

View file

@ -21,7 +21,7 @@
modprobe: modprobe:
name: pcspkr name: pcspkr
state: absent state: absent
ignore_errors: true failed_when: false
- name: Set lightdm greeter - name: Set lightdm greeter
ini_file: ini_file:

View file

@ -44,7 +44,7 @@
owner: "{{ user }}" owner: "{{ user }}"
mode: 0755 mode: 0755
- name: i3 config files - name: Install i3 config files
loop: "{{ i3_config_files }}" loop: "{{ i3_config_files }}"
loop_control: loop_control:
label: "{{ item.src }}" label: "{{ item.src }}"

View file

@ -50,7 +50,7 @@
- name: Update package repositories - name: Update package repositories
pacman: pacman:
update_cache: yes update_cache: true
become: true become: true
when: added_repo_keys.changed or pacman_conf.changed when: added_repo_keys.changed or pacman_conf.changed