You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/ansible-galaxy/setup.yml

12 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'