mirror of https://github.com/ansible/ansible.git
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.
22 lines
594 B
YAML
22 lines
594 B
YAML
3 years ago
|
- name: Setup POSIX code coverage configuration
|
||
|
hosts: all
|
||
|
gather_facts: no
|
||
|
tasks:
|
||
|
- name: Create coverage temporary directory
|
||
|
file:
|
||
|
path: "{{ common_temp_dir }}"
|
||
|
mode: "{{ mode_directory }}"
|
||
|
state: directory
|
||
|
|
||
|
- name: Create coverage configuration file
|
||
|
copy:
|
||
|
dest: "{{ coverage_config_path }}"
|
||
|
content: "{{ coverage_config }}"
|
||
|
mode: "{{ mode_file }}"
|
||
|
|
||
|
- name: Create coverage output directory
|
||
|
file:
|
||
|
path: "{{ coverage_output_path }}"
|
||
|
mode: "{{ mode_directory_write }}"
|
||
|
state: directory
|