blob: 68e7800469831df894be24024348051451def20d (
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
|
# 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
|