aboutsummaryrefslogblamecommitdiffstats
path: root/roles/_workstation/packages/tasks/main.yml
blob: 68e7800469831df894be24024348051451def20d (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] }}"
  ignore_errors: true

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