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-pull/setup.yml

12 lines
322 B
YAML

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