[TIDY] Set some "diff: false", fix linter warnings

This commit is contained in:
Jannik Beyerstedt 2023-04-28 23:25:25 +02:00
parent 47dd9508a6
commit f380e0ba29
34 changed files with 236 additions and 195 deletions

View file

@ -2,20 +2,20 @@
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles - macOS Version
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
- name: usersetup - Check, if usersetup already ran
- name: Usersetup - Check, if usersetup already ran
ansible.builtin.stat:
path: "{{ ansible_user_dir }}/.ansbl-common-usersetup"
register: common_usersetup
- name: usersetup - Change login shell to zsh for current user
- name: Usersetup - Change login shell to zsh for current user
when:
- common_usersetup.stat.exists == false and usersetup_chsh == true
become: yes
become: true
ansible.builtin.user:
name: "{{ ansible_user_id }}"
shell: /bin/zsh
- name: usersetup - Create lockfile
- name: Usersetup - Create lockfile
when:
- common_usersetup.stat.exists == false
ansible.builtin.file: