2018-02-10 19:48:44 +01:00
|
|
|
- hosts: localhost
|
|
|
|
tasks:
|
|
|
|
- name: install git
|
|
|
|
package:
|
|
|
|
name: git
|
|
|
|
when: ansible_distribution != "MacOSX"
|
2019-03-28 22:05:56 +01:00
|
|
|
register: git_install
|
|
|
|
- name: save install result
|
|
|
|
copy:
|
|
|
|
content: '{{ git_install }}'
|
|
|
|
dest: '{{ lookup("env", "OUTPUT_DIR") }}/git_install.json'
|