configs/roles/common/tasks/packages.yml

30 lines
555 B
YAML

---
# - name: Configure repos
- name: Install essential packages
package:
name: "{{ packages }}"
state: latest
vars:
packages:
- htop
- neovim
- tmux
- zsh
# Hostname-specific package tasks
- include: hosts/{{ ansible_hostname }}.yml
- name: Install zoom
when: use_zoom | default(False)
dnf:
name: 'https://zoom.us/client/latest/zoom_x86_64.rpm'
disable_gpg_check: true
state: present
#- name: Install hostname-specific packages
# package:
# name: "{{ extra_packages }}"
# state: latest