diff options
Diffstat (limited to 'ansible_collections/junipernetworks/junos/tests/integration/targets/prepare_junos_tests/tasks/main.yml')
-rw-r--r-- | ansible_collections/junipernetworks/junos/tests/integration/targets/prepare_junos_tests/tasks/main.yml | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/ansible_collections/junipernetworks/junos/tests/integration/targets/prepare_junos_tests/tasks/main.yml b/ansible_collections/junipernetworks/junos/tests/integration/targets/prepare_junos_tests/tasks/main.yml index 179fb0d95..68bf6e300 100644 --- a/ansible_collections/junipernetworks/junos/tests/integration/targets/prepare_junos_tests/tasks/main.yml +++ b/ansible_collections/junipernetworks/junos/tests/integration/targets/prepare_junos_tests/tasks/main.yml @@ -1,18 +1,4 @@ --- -- name: Debug task - ansible.builtin.debug: - msg: "START prepare_junos_tests/main.yaml" - -- name: Ensure netconf is enabled - connection: ansible.netcommon.network_cli - tags: netconf - junipernetworks.junos.junos_netconf: - state: present - -- name: Wait for netconf server to come up - delegate_to: localhost - tags: netconf - ansible.builtin.wait_for: - host: "{{ hostvars[item].ansible_host }}" - port: 830 - with_inventory_hostnames: junos +- name: Run the prepare steps if requested + ansible.builtin.include_tasks: prepare.yml + when: prepare_junos_tests_task | default(True) | bool |