chore: Add tags to tasks
This commit is contained in:
parent
fef780be2c
commit
fb5b20efdf
1 changed files with 12 additions and 1 deletions
|
|
@ -14,13 +14,18 @@
|
|||
# - user_lang_latex: Boolean for LaTeX
|
||||
|
||||
- name: VSCode - Install and configure VS Code
|
||||
ansible.builtin.include_tasks: "{{ item }}"
|
||||
tags: vscode
|
||||
ansible.builtin.include_tasks:
|
||||
file: "{{ item }}"
|
||||
apply:
|
||||
tags: vscode
|
||||
with_first_found:
|
||||
- "devel-{{ ansible_facts['distribution'] }}.yml"
|
||||
- "devel-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
||||
|
||||
# Install Visual Studio Code and Set Basic Configuration
|
||||
- name: VSCode - Basics
|
||||
tags: vscode
|
||||
when: user_vscode
|
||||
block:
|
||||
- name: VSCode - Basics - Configure
|
||||
|
|
@ -37,6 +42,7 @@
|
|||
|
||||
# VS Code - C/C++ Development Tools
|
||||
- name: VSCode - C/C++
|
||||
tags: lang_cpp
|
||||
when: user_vscode and user_lang_cpp
|
||||
block:
|
||||
- name: VSCode - C/C++ - Configure VS Code
|
||||
|
|
@ -47,6 +53,7 @@
|
|||
|
||||
# VS Code - Python Development Tools
|
||||
- name: Devel - Python - Install python dev packages
|
||||
tags: lang_python
|
||||
when: user_lang_python
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
|
|
@ -64,6 +71,7 @@
|
|||
# VC Code - Golang Development Tools
|
||||
# https://golang.org/doc/install
|
||||
- name: Devel - Golang - Setup Environment
|
||||
tags: lang_golang
|
||||
when: user_lang_golang
|
||||
block:
|
||||
- name: Devel - Golang - Create workspace directory
|
||||
|
|
@ -92,6 +100,7 @@
|
|||
# and group all golang stuff in one section inside zshrc-host
|
||||
|
||||
- name: VSCode - Golang
|
||||
tags: lang_golang
|
||||
when: user_vscode and user_lang_golang
|
||||
block:
|
||||
- name: VSCode - Golang - Configure VS Code
|
||||
|
|
@ -101,6 +110,7 @@
|
|||
|
||||
# VS Code - LaTeX Distribution
|
||||
- name: Devel - LaTeX - Install TeX packages
|
||||
tags: lang_latex
|
||||
when: user_lang_latex
|
||||
become: true
|
||||
ansible.builtin.shell: |
|
||||
|
|
@ -110,6 +120,7 @@
|
|||
tlmgr install collection-fontsextra collection-fontsrecommended collection-fontutils collection-langgerman collection-langenglish collection-mathscience
|
||||
tlmgr install todonotes textpos lipsum pgfopts xpatch enumitem nomencl glossaries glossaries-german glossaries-english datatool mfirstuc xfor substr tracklang placeins placeins-plain csquotes appendixnumberbeamer fontaxes hyphenat datetime2 scrhack setspaceenhanced catchfile lscapeenhanced
|
||||
- name: VSCode - LaTeX
|
||||
tags: lang_latex
|
||||
when: user_vscode and user_lang_latex
|
||||
block:
|
||||
- name: VSCode - Basics - Configure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue