81 lines
2.1 KiB
YAML
81 lines
2.1 KiB
YAML
---
|
||
# Common/Devel: Install and Configure Dev Env - ArchLinux Version
|
||
|
||
- name: devel - Fonts
|
||
ansible.builtin.package:
|
||
name: "{{ packages }}"
|
||
state: present
|
||
vars:
|
||
packages:
|
||
- fonts-hack
|
||
|
||
# Install Visual Studio Code and Set Basic Configuration
|
||
- name: vscode - Basics
|
||
block:
|
||
- name: vscode - Basics - Install
|
||
ansible.builtin.package:
|
||
name: "{{ packages }}"
|
||
state: present
|
||
vars:
|
||
packages:
|
||
- code
|
||
- name: vscode - Basics - Additional dependencies
|
||
ansible.builtin.package:
|
||
name: "{{ packages }}"
|
||
state: present
|
||
vars:
|
||
packages:
|
||
- plantuml
|
||
- name: vscode - Basics - Create settings directory
|
||
ansible.builtin.file:
|
||
path: "{{ ansible_user_dir }}/.config/Code/User"
|
||
state: directory
|
||
- name: vscode - Basics - Copy global settings
|
||
ansible.builtin.copy:
|
||
src: "{{ role_path }}/files/vscode-settings.json"
|
||
dest: "{{ ansible_user_dir }}/.config/Code/User/settings.json"
|
||
when: user_vscode == true
|
||
|
||
# Dev Env - C/C++ Development Tools
|
||
- name: devel - C/C++
|
||
block:
|
||
- name: devel - C/C++ - Install developer tools
|
||
ansible.builtin.package:
|
||
name: "{{ packages }}"
|
||
state: present
|
||
vars:
|
||
packages:
|
||
- clang-format
|
||
when: user_lang_cpp == true
|
||
|
||
# Dev Env - Python Development Tools
|
||
# all done in vscode.yml
|
||
|
||
# Dev Env - Golang Development Tools
|
||
- name: devel - Golang
|
||
block:
|
||
- name: devel - Golang - Install developer tools
|
||
ansible.builtin.package:
|
||
name: "{{ packages }}"
|
||
state: present
|
||
vars:
|
||
packages:
|
||
- go
|
||
when: user_lang_golang == true
|
||
|
||
# Dev Env - LaTeX Distribution
|
||
- name: devel - LaTeX
|
||
block:
|
||
- name: devel - LaTeX - Install basic TeX distribution
|
||
ansible.builtin.package:
|
||
name: "{{ packages }}"
|
||
state: present
|
||
vars:
|
||
packages:
|
||
- texlive-core
|
||
# - texlive-bibtexextra
|
||
# - texlive-science
|
||
# - texlive-fontsextra
|
||
- biber
|
||
when: user_lang_latex == true
|