Debian Codegraph @

ansible_collections/community/dns/tests/integration/targets/hosttech/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: Compute test record from prefix and zone
7 ansible.builtin.set_fact:
8 test_record: '{{ test_record_prefix ~ "." ~ test_zone }}'
9
10 - name: Run tests with username and password
11 ansible.builtin.include_tasks: username-password.yml
12 when: hosttech_username is defined and hosttech_password is defined
13
14 - name: Run tests with token
15 ansible.builtin.include_tasks: token.yml
16 when: hosttech_token is defined