[TIDY] fix ansible-lint issues

This commit is contained in:
Jannik Beyerstedt 2024-12-03 09:48:05 +01:00
parent 78df6551ac
commit e86374973a
13 changed files with 62 additions and 44 deletions

View file

@ -9,7 +9,7 @@
- name: Usersetup - Change login shell to zsh for current user
when:
- common_usersetup.stat.exists == false and usersetup_chsh == true
- not common_usersetup.stat.exists and usersetup_chsh
become: true
ansible.builtin.user:
name: "{{ ansible_user_id }}"
@ -17,7 +17,8 @@
- name: Usersetup - Create lockfile
when:
- common_usersetup.stat.exists == false
- not common_usersetup.stat.exists
ansible.builtin.file:
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
state: touch
mode: "0644"