aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation/basetools/tasks/main.yml
blob: 4b6c61d6141f07ff625618b1a54e6e9801234c68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---

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

- name: install man-db
  ansible.builtin.shell: yes | pacman -S man-db
  when: ansible_distribution in ["Archlinux"]

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

- name: install mandoc
  ansible.builtin.shell: yes | pacman -S mandoc
  when: ansible_distribution in ["Archlinux"]

- 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.