2018-02-10 19:48:44 +01:00
|
|
|
- hosts: localhost
|
|
|
|
tasks:
|
|
|
|
- name: install git
|
|
|
|
package:
|
|
|
|
name: git
|
2020-08-07 21:28:10 +02:00
|
|
|
when: ansible_distribution not in ["MacOSX", "Alpine"]
|
2019-03-29 00:23:16 +01:00
|
|
|
register: git_install
|
|
|
|
- name: save install result
|
|
|
|
copy:
|
|
|
|
content: '{{ git_install }}'
|
|
|
|
dest: '{{ lookup("env", "OUTPUT_DIR") }}/git_install.json'
|