Debian Codegraph @

ansible_collections/community/dns/tests/integration/targets/required_module_params/tasks/main.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - name: Run community.dns.hetzner_dns_record without options
7 community.dns.hetzner_dns_record: # noqa: args[module]
8 register: result
9 failed_when: result is not failed
10
11 - name: Validate community.dns.hetzner_dns_record run
12 ansible.builtin.assert:
13 that:
14 - "'state' in result.msg"
15 - "'type' in result.msg"
16 - "'value' in result.msg"
17
18 - name: Run community.dns.hetzner_dns_record_info without options
19 community.dns.hetzner_dns_record_info: # noqa: args[module]
20 register: result
21 failed_when: result is not failed
22
23 - name: Validate community.dns.hetzner_dns_record_info run
24 ansible.builtin.assert:
25 that:
26 - "'hetzner_token' in result.msg"
27
28 - name: Run community.dns.hetzner_dns_record_set_info without options
29 community.dns.hetzner_dns_record_set_info: # noqa: args[module]
30 register: result
31 failed_when: result is not failed
32
33 - name: Validate community.dns.hetzner_dns_record_set_info run
34 ansible.builtin.assert:
35 that:
36 - "'hetzner_token' in result.msg"
37
38 - name: Run community.dns.hetzner_dns_record_set without options
39 community.dns.hetzner_dns_record_set: # noqa: args[module]
40 register: result
41 failed_when: result is not failed
42
43 - name: Validate community.dns.hetzner_dns_record_set run
44 ansible.builtin.assert:
45 that:
46 - "'state' in result.msg"
47 - "'type' in result.msg"
48
49 - name: Run community.dns.hetzner_dns_record_sets without options
50 community.dns.hetzner_dns_record_sets: # noqa: args[module]
51 register: result
52 failed_when: result is not failed
53
54 - name: Validate community.dns.hetzner_dns_record_sets run
55 ansible.builtin.assert:
56 that:
57 - "'record_sets' in result.msg"
58
59 - name: Run community.dns.hetzner_dns_zone_info without options
60 community.dns.hetzner_dns_zone_info: # noqa: args[module]
61 register: result
62 failed_when: result is not failed
63
64 - name: Validate community.dns.hetzner_dns_zone_info run
65 ansible.builtin.assert:
66 that:
67 - "'hetzner_token' in result.msg"
68
69 - name: Run community.dns.hosttech_dns_record without options
70 community.dns.hosttech_dns_record: # noqa: args[module]
71 register: result
72 failed_when: result is not failed
73
74 - name: Validate community.dns.hosttech_dns_record run
75 ansible.builtin.assert:
76 that:
77 - "'state' in result.msg"
78 - "'type' in result.msg"
79 - "'value' in result.msg"
80
81 - name: Run community.dns.hosttech_dns_record_set_info without options
82 community.dns.hosttech_dns_record_set_info: # noqa: args[module]
83 register: result
84 failed_when: result is not failed
85
86 - name: Validate community.dns.hosttech_dns_record_set_info run
87 ansible.builtin.assert:
88 that:
89 - "'one of the following is required' in result.msg"
90 - "'zone_name' in result.msg"
91 - "'zone_id' in result.msg"
92
93 - name: Run community.dns.hosttech_dns_record_info without options
94 community.dns.hosttech_dns_record_info: # noqa: args[module]
95 register: result
96 failed_when: result is not failed
97
98 - name: Validate community.dns.hosttech_dns_record_info run
99 ansible.builtin.assert:
100 that:
101 - "'one of the following is required' in result.msg"
102 - "'zone_name' in result.msg"
103 - "'zone_id' in result.msg"
104
105 - name: Run community.dns.hosttech_dns_record_set without options
106 community.dns.hosttech_dns_record_set: # noqa: args[module]
107 register: result
108 failed_when: result is not failed
109
110 - name: Validate community.dns.hosttech_dns_record_set run
111 ansible.builtin.assert:
112 that:
113 - "'state' in result.msg"
114 - "'type' in result.msg"
115
116 - name: Run community.dns.hosttech_dns_record_sets without options
117 community.dns.hosttech_dns_record_sets: # noqa: args[module]
118 register: result
119 failed_when: result is not failed
120
121 - name: Validate community.dns.hosttech_dns_record_sets run
122 ansible.builtin.assert:
123 that:
124 - "'record_sets' in result.msg"
125
126 - name: Run community.dns.hosttech_dns_zone_info without options
127 community.dns.hosttech_dns_zone_info: # noqa: args[module]
128 register: result
129 failed_when: result is not failed
130
131 - name: Validate community.dns.hosttech_dns_zone_info run
132 ansible.builtin.assert:
133 that:
134 - "'one of the following is required' in result.msg"
135 - "'zone_name' in result.msg"
136 - "'zone_id' in result.msg"
137
138 - name: Run wait_for_txt without options
139 community.dns.wait_for_txt: # noqa: args[module]
140 register: result
141 failed_when: result is not failed
142
143 - name: Validate wait_for_txt run
144 ansible.builtin.assert:
145 that:
146 - "'records' in result.msg"