aboutsummaryrefslogblamecommitdiffstats
path: root/roles/_workstation/basetools/tasks/main.yml
blob: 6b8e1cd75f0e3f722367271ce39e0e5c6f889fac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                     







                                             
---

- name: include per-os vars
  ansible.builtin.include_vars:
    file: "os_{{ ansible_distribution | lower }}.yml"

- name: install distribution packages
  ansible.builtin.package:
    name: "{{ item }}"
    state: present
  loop:
    - "{{ basetools_common_packages }}"
    - "{{ basetools_distribution_packages }}"

- name: install community package
  ansible.builtin.include_role:
    name: _workstation/makepkg
  vars:
    makepkg_package_name: "{{ item }}"
  loop: "{{ basetools_makepkg_packages }}"
  when: ansible_distribution in ["Archlinux"]
remember that computers suck.