[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

@ -8,7 +8,7 @@
# Install Visual Studio Code and Set Basic Configuration
- name: VSCode - Basics
when: user_vscode == true
when: user_vscode
block:
- name: VSCode - Basics - Install
community.general.homebrew_cask:
@ -35,14 +35,16 @@
ansible.builtin.file:
path: "{{ ansible_user_dir }}/Library/Application Support/Code/User"
state: directory
mode: "0755"
- name: VSCode - Basics - Copy global settings
ansible.builtin.copy:
src: "{{ role_path }}/files/vscode-settings.json"
dest: "{{ ansible_user_dir }}/Library/Application Support/Code/User/settings.json"
mode: "0644"
# Dev Env - C/C++ Development Tools
- name: Devel - C/C++
when: user_lang_cpp == true
when: user_lang_cpp
block:
- name: Devel - C/C++ - Install developer tools
community.general.homebrew:
@ -58,7 +60,7 @@
# Dev Env - Golang Development Tools
- name: Devel - Golang
when: user_lang_golang == true
when: user_lang_golang
block:
- name: Devel - Golang - Install developer tools
community.general.homebrew:
@ -71,7 +73,7 @@
# Dev Env - LaTeX Distribution
- name: Devel - LaTeX
when: user_vscode == true and user_lang_latex == true
when: user_vscode and user_lang_latex
block:
- name: Devel - LaTeX - Install basic TeX distribution
community.general.homebrew_cask: