dotfiles/.local/share/dotfiles/install_dev_tools.yml

27 lines
610 B
YAML

---
- name: Install development tools
hosts: localhost
gather_facts: true
tasks:
- name: Install packages with homebrew
community.general.homebrew:
name:
- neovim
- ripgrep
- fd
- tree
- gcc
state: present
when: ansible_facts['os_family'] == "Darwin"
- name: Install packages with pacman
community.general.pacman:
name:
- neovim
- ripgrep
- fd
- tree
- gcc
state: present
become: true
when: ansible_facts['os_family'] == "Archlinux"