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
|
# - user_lang_latex: Boolean for LaTeX
|
||||||
|
|
||||||
- name: VSCode - Install and configure VS Code
|
- 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:
|
with_first_found:
|
||||||
- "devel-{{ ansible_facts['distribution'] }}.yml"
|
- "devel-{{ ansible_facts['distribution'] }}.yml"
|
||||||
- "devel-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
- "devel-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
||||||
|
|
||||||
# Install Visual Studio Code and Set Basic Configuration
|
# Install Visual Studio Code and Set Basic Configuration
|
||||||
- name: VSCode - Basics
|
- name: VSCode - Basics
|
||||||
|
tags: vscode
|
||||||
when: user_vscode
|
when: user_vscode
|
||||||
block:
|
block:
|
||||||
- name: VSCode - Basics - Configure
|
- name: VSCode - Basics - Configure
|
||||||
|
|
@ -37,6 +42,7 @@
|
||||||
|
|
||||||
# VS Code - C/C++ Development Tools
|
# VS Code - C/C++ Development Tools
|
||||||
- name: VSCode - C/C++
|
- name: VSCode - C/C++
|
||||||
|
tags: lang_cpp
|
||||||
when: user_vscode and user_lang_cpp
|
when: user_vscode and user_lang_cpp
|
||||||
block:
|
block:
|
||||||
- name: VSCode - C/C++ - Configure VS Code
|
- name: VSCode - C/C++ - Configure VS Code
|
||||||
|
|
@ -47,6 +53,7 @@
|
||||||
|
|
||||||
# VS Code - Python Development Tools
|
# VS Code - Python Development Tools
|
||||||
- name: Devel - Python - Install python dev packages
|
- name: Devel - Python - Install python dev packages
|
||||||
|
tags: lang_python
|
||||||
when: user_lang_python
|
when: user_lang_python
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name:
|
name:
|
||||||
|
|
@ -64,6 +71,7 @@
|
||||||
# VC Code - Golang Development Tools
|
# VC Code - Golang Development Tools
|
||||||
# https://golang.org/doc/install
|
# https://golang.org/doc/install
|
||||||
- name: Devel - Golang - Setup Environment
|
- name: Devel - Golang - Setup Environment
|
||||||
|
tags: lang_golang
|
||||||
when: user_lang_golang
|
when: user_lang_golang
|
||||||
block:
|
block:
|
||||||
- name: Devel - Golang - Create workspace directory
|
- name: Devel - Golang - Create workspace directory
|
||||||
|
|
@ -92,6 +100,7 @@
|
||||||
# and group all golang stuff in one section inside zshrc-host
|
# and group all golang stuff in one section inside zshrc-host
|
||||||
|
|
||||||
- name: VSCode - Golang
|
- name: VSCode - Golang
|
||||||
|
tags: lang_golang
|
||||||
when: user_vscode and user_lang_golang
|
when: user_vscode and user_lang_golang
|
||||||
block:
|
block:
|
||||||
- name: VSCode - Golang - Configure VS Code
|
- name: VSCode - Golang - Configure VS Code
|
||||||
|
|
@ -101,6 +110,7 @@
|
||||||
|
|
||||||
# VS Code - LaTeX Distribution
|
# VS Code - LaTeX Distribution
|
||||||
- name: Devel - LaTeX - Install TeX packages
|
- name: Devel - LaTeX - Install TeX packages
|
||||||
|
tags: lang_latex
|
||||||
when: user_lang_latex
|
when: user_lang_latex
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
|
|
@ -110,6 +120,7 @@
|
||||||
tlmgr install collection-fontsextra collection-fontsrecommended collection-fontutils collection-langgerman collection-langenglish collection-mathscience
|
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
|
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
|
- name: VSCode - LaTeX
|
||||||
|
tags: lang_latex
|
||||||
when: user_vscode and user_lang_latex
|
when: user_vscode and user_lang_latex
|
||||||
block:
|
block:
|
||||||
- name: VSCode - Basics - Configure
|
- name: VSCode - Basics - Configure
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue