[TIDY] fix ansible-lint issues
This commit is contained in:
parent
78df6551ac
commit
e86374973a
13 changed files with 62 additions and 44 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue