ansible-role-common/tasks/devel-Archlinux.yml
Jannik Beyerstedt 72c24f5948 [FIX] Devel installation on ArchLinux
LaTeX is still broken though since there's an issue with tlmgr in
texlive-core
2022-08-06 15:13:24 +02:00

87 lines
2.2 KiB
YAML

---
# Common/Devel: Install and Configure Dev Env - ArchLinux Version
- name: devel - Fonts
become: true
ansible.builtin.package:
name: "{{ packages }}"
state: present
vars:
packages:
- ttf-hack
# Install Visual Studio Code and Set Basic Configuration
- name: vscode - Basics
when: user_vscode == true
block:
- name: vscode - Basics - Install
become: true
ansible.builtin.package:
name: "{{ packages }}"
state: present
vars:
packages:
- code
- name: vscode - Basics - Additional dependencies
become: true
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"
# Dev Env - C/C++ Development Tools
- name: devel - C/C++
when: user_lang_cpp == true
block:
- name: devel - C/C++ - Install developer tools
become: true
ansible.builtin.package:
name: "{{ packages }}"
state: present
vars:
packages:
- clang
# Dev Env - Python Development Tools
# all done in vscode.yml
# Dev Env - Golang Development Tools
- name: devel - Golang
when: user_lang_golang == true
block:
- name: devel - Golang - Install developer tools
become: true
ansible.builtin.package:
name: "{{ packages }}"
state: present
vars:
packages:
- go
# Dev Env - LaTeX Distribution
- name: devel - LaTeX
when: user_lang_latex == true
block:
- name: devel - LaTeX - Install basic TeX distribution
become: true
ansible.builtin.package:
name: "{{ packages }}"
state: present
vars:
packages:
- texlive-core
# - texlive-bibtexextra
# - texlive-science
# - texlive-fontsextra
- biber