desktop-config/roles/dev-tools/tasks/main.yml

26 lines
552 B
YAML
Raw Normal View History

2023-12-24 23:09:53 +01:00
- name: Add Visual Studio Code repository
become: yes
deb822_repository:
name: vscode
types: deb
uris: https://packages.microsoft.com/repos/code
suites: stable
components: main
signed_by: https://packages.microsoft.com/keys/microsoft.asc
state: present
enabled: yes
- name: Install packages
become: yes
apt:
state: latest
update_cache: true
install_recommends: false
name:
- code
- nodejs
- npm
- name: Install yarn
become: yes
ansible.builtin.command: npm install -g yarn