Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/ini_file/tasks/main.yml

raw
1 ---
2 ####################################################################
3 # WARNING: These are designed specifically for Ansible tests #
4 # and should not be used as examples of how to write Ansible roles #
5 ####################################################################
6
7 # test code for ini_file plugins
8 # Copyright (c) 2017 Red Hat Inc.
9 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
10 # SPDX-License-Identifier: GPL-3.0-or-later
11
12 - name: record the output directory
13 set_fact:
14 output_file: "{{ remote_tmp_dir }}/foo.ini"
15 non_existing_file: "{{ remote_tmp_dir }}/bar.ini"
16
17 - name: include tasks
18 block:
19 - name: include tasks to perform basic tests
20 include_tasks: tests/00-basic.yml
21
22 - name: reset output file
23 file:
24 path: "{{ output_file }}"
25 state: absent
26
27 - name: include tasks to perform tests with parameter "value"
28 include_tasks: tests/01-value.yml
29
30 - name: reset output file
31 file:
32 path: "{{ output_file }}"
33 state: absent
34
35 - name: include tasks to perform tests with parameter "values"
36 include_tasks: tests/02-values.yml
37
38 - name: include tasks to test regressions
39 include_tasks: tests/03-encoding.yml
40
41 - name: include tasks to test symlink handling
42 include_tasks: tests/04-symlink.yml
43
44 - name: include tasks to test ignore_spaces
45 include_tasks: tests/05-ignore_spaces.yml
46
47 - name: include tasks to test modify_inactive_option
48 include_tasks: tests/06-modify_inactive_option.yml
49
50 - name: include tasks to test optional spaces in section headings
51 include_tasks: tests/07-section_name_spaces.yml
52
53 - name: include tasks to test section_has_values
54 include_tasks: tests/08-section.yml