93 lines
2.3 KiB
YAML
93 lines
2.3 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
|
|
diff: false
|
|
|
|
# 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
|
|
diff: false
|
|
- name: VSCode - Basics - Additional dependencies
|
|
become: true
|
|
ansible.builtin.package:
|
|
name: "{{ packages }}"
|
|
state: present
|
|
vars:
|
|
packages:
|
|
- plantuml
|
|
diff: false
|
|
- 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
|
|
diff: false
|
|
|
|
# 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
|
|
diff: false
|
|
|
|
# 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
|
|
diff: false
|