ansible-role-common/tasks/devel-Archlinux.yml

81 lines
1.9 KiB
YAML
Raw Normal View History

---
# Common/Devel: Install and Configure Dev Env - ArchLinux Version
- name: devel - Fonts
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
package:
name: "{{ packages }}"
state: present
vars:
packages:
- code
2020-02-28 08:39:56 +00:00
- name: vscode - Basics - Additional dependencies
package:
name: "{{ packages }}"
state: present
vars:
packages:
- plantuml
- name: vscode - Basics - Create settings directory
file:
path: "{{ ansible_user_dir }}/.config/Code/User"
state: directory
- name: vscode - Basics - Copy global settings
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
package:
name: "{{ packages }}"
2019-10-17 08:25:49 +00:00
state: present
vars:
packages:
2019-11-12 20:42:58 +00:00
- clang-format
when: user_lang_cpp == true
# Dev Env - Python Development Tools
# all done in vscode.yml
2019-10-17 08:25:49 +00:00
# Dev Env - Golang Development Tools
- name: devel - Golang
2019-10-17 08:25:49 +00:00
block:
- name: devel - Golang - Install developer tools
2019-10-17 08:25:49 +00:00
package:
name: "{{ packages }}"
state: present
vars:
packages:
2019-11-12 20:42:58 +00:00
- go
2019-10-17 08:25:49 +00:00
when: user_lang_golang == true
2020-05-23 20:30:37 +00:00
# Dev Env - LaTeX Distribution
- name: devel - LaTeX
block:
- name: devel - LaTeX - Install basic TeX distribution
package:
name: "{{ packages }}"
state: present
vars:
packages:
- texlive-core
# - texlive-bibtexextra
# - texlive-science
# - texlive-fontsextra
- biber
when: user_lang_latex == true