aboutsummaryrefslogblamecommitdiffstats
path: root/roles/_workstation/packages/tasks/main.yml
blob: 20afce5871e9d2db5cf792c84245574bcf2d3c5d (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                                           



                                     
       

                                                
 






                                            

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