[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 }}"
|
||||
|
@ -25,14 +25,14 @@
|
|||
|
||||
# - name: Usersetup - Setup locale en_US
|
||||
# when:
|
||||
# - common_usersetup.stat.exists == false
|
||||
# - not common_usersetup.stat.exists
|
||||
# become: true
|
||||
# ansible.builtin.locale_gen:
|
||||
# name: en_US.UTF-8
|
||||
# state: present
|
||||
# - name: Usersetup - Setup locale de_DE
|
||||
# when:
|
||||
# - common_usersetup.stat.exists == false
|
||||
# - not common_usersetup.stat.exists
|
||||
# become: true
|
||||
# ansible.builtin.locale_gen:
|
||||
# name: de_DE.UTF-8
|
||||
|
@ -40,7 +40,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