Improve consistency with naming of tests for Ansible CLI commands. Fix naming of module_utils tests to match the files under test.
12 lines
322 B
YAML
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'
|