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

20 lines
311 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:
2021-03-04 12:28:21 +00:00
- cmake
2021-06-07 16:38:10 +00:00
- rsync
2021-02-01 07:50:42 +00:00
- 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"