ansible/test/integration/targets/pull/setup.yml

11 lines
306 B
YAML

- hosts: localhost
tasks:
- name: install git
package:
name: git
when: ansible_distribution != "MacOSX"
register: git_install
- name: save install result
copy:
content: '{{ git_install }}'
dest: '{{ lookup("env", "OUTPUT_DIR") }}/git_install.json'