Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/git_config/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 the git_config module
8 # Copyright (c) Ansible Project
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: setup
13 import_tasks: setup.yml
14
15 - block:
16 - import_tasks: set_value.yml
17 # testing get/set option without state
18 - import_tasks: get_set_no_state.yml
19 # testing get/set option with state=present
20 - import_tasks: get_set_state_present.yml
21 # testing get/set option with state=present and scope=file
22 - import_tasks: get_set_state_present_file.yml
23 # testing state=absent without value to delete
24 - import_tasks: unset_no_value.yml
25 # testing state=absent with value to delete
26 - import_tasks: unset_value.yml
27 # testing state=absent with value to delete and a defined value parameter
28 - import_tasks: precedence_between_unset_and_value.yml
29 # testing state=absent with check mode
30 - import_tasks: unset_check_mode.yml
31 # testing for case in issue #1776
32 - import_tasks: set_value_with_tilde.yml
33 - import_tasks: set_multi_value.yml
34 - import_tasks: unset_multi_value.yml
35 when: git_installed is succeeded and git_version.stdout is version(git_version_supporting_includes, ">=")
36 ...