aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation/packages/tasks/main.yml
blob: 20afce5871e9d2db5cf792c84245574bcf2d3c5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

# workstation ~~ roles/_workstation/packages/tasks/main.yml
# install packages for all distributions

---

- name: install distribution packages
  package:
    name: "{{ item }}"
    state: present
  loop:
    - "{{ pkgs.common }}"
    - "{{ pkgs[ansible_distribution | lower] }}"

- name: install system packages
  package:
    name: "{{ item }}"
    state: present
  loop: 
      - "{{ pkgs[ansible_system | lower] }}"
  when: ansible_system in "Linux"
remember that computers suck.