ansible-role-common/tasks/devel-Archlinux.yml
2020-01-16 13:40:01 +01:00

46 lines
1.1 KiB
YAML

---
# Common/Devel: Install and Configure Dev Env - ArchLinux Version
# Install Visual Studio Code and Set Basic Configuration
- name: vscode - Basics
block:
- name: vscode - Basics - Install
package:
name: "{{ packages }}"
state: present
vars:
packages:
- visual-studio-code
- name: vscode - Basics - Copy global settings
copy:
src: "{{ role_path }}/files/vscode-settings.json"
dest: ~/.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 }}"
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
package:
name: "{{ packages }}"
state: present
vars:
packages:
- go
when: user_lang_golang == true