Debian Codegraph @

ansible_collections/community/postgresql/tests/integration/targets/postgresql_alter_system/tasks/main.yml

raw
1 ####################################################################
2 # WARNING: These are designed specifically for Ansible tests #
3 # and should not be used as examples of how to write Ansible roles #
4 ####################################################################
5
6 # Initial CI tests of postgresql_alter_system module
7
8 # PostgreSQL 14+ is declared as supported by the module
9 - name: Run on PostgreSQL 14 or higher
10 block:
11
12 - name: Test resetting feature
13 include_tasks: test_resetting.yml
14
15 - name: Test params of integer type
16 include_tasks: test_integers.yml
17
18 - name: Test params of type real
19 include_tasks: test_reals.yml
20
21 - name: Test params of string type
22 include_tasks: test_strings.yml
23
24 - name: Test params of boolean type
25 include_tasks: test_bools.yml
26
27 - name: Copied from postgresql_set to ensure some compatibility
28 include_tasks: options_coverage.yml
29
30 when: postgres_version_resp.stdout is version('14', '>=')
31
32 - name: Run on PostgreSQL 17 or higher
33 block:
34
35 - name: Test params of enum type
36 include_tasks: test_enums.yml
37
38 when: postgres_version_resp.stdout is version('17', '>=')