ansible-machine-setup/roles/tools/tasks/main.yaml

18 lines
287 B
YAML
Raw Normal View History

2020-05-31 15:30:43 +00:00
---
2020-06-21 17:58:45 +00:00
- name: install common tools
2020-05-31 15:30:43 +00:00
package:
2021-02-01 07:50:42 +00:00
name: "{{ item }}"
2020-05-31 15:30:43 +00:00
state: latest
2021-02-01 07:50:42 +00:00
loop:
- tree
2021-02-01 07:51:03 +00:00
- unzip
2021-02-01 07:50:42 +00:00
- yarn
2021-01-28 13:27:05 +00:00
2020-06-21 17:58:45 +00:00
- name: install debian tools
package:
2021-02-01 07:50:42 +00:00
name: "{{ item }}"
2020-06-21 17:58:45 +00:00
state: latest
2021-02-01 07:50:42 +00:00
loop:
- aptitude
2020-06-21 17:58:45 +00:00
when: ansible_facts["os_family"] == "Debian"