From 3194cd641bafa7f2a110d83e685ee26102c4e630 Mon Sep 17 00:00:00 2001 From: Gaige B Paulsen Date: Wed, 12 Feb 2025 17:39:05 -0500 Subject: T7005: fix: integration tests for multiple hosts (#390) --- tests/integration/targets/vyos_config/tests/cli/backup.yaml | 3 ++- tests/integration/targets/vyos_config/tests/cli_config/cli_backup.yaml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/integration/targets/vyos_config/tests/cli/backup.yaml b/tests/integration/targets/vyos_config/tests/cli/backup.yaml index f414b76..adfa2ad 100644 --- a/tests/integration/targets/vyos_config/tests/cli/backup.yaml +++ b/tests/integration/targets/vyos_config/tests/cli/backup.yaml @@ -12,7 +12,7 @@ file: path: "{{ item.path }}" state: absent - with_items: "{{backup_files.files|default([])}}" + with_items: "{{ backup_files.files|default([]) }}" - name: take configure backup register: result @@ -41,6 +41,7 @@ with_items: - "{{ role_path }}/backup_test_dir/" - "{{ role_path }}/backup/backup.cfg" + run_once: true - name: take configuration backup in custom filename and directory path register: result diff --git a/tests/integration/targets/vyos_config/tests/cli_config/cli_backup.yaml b/tests/integration/targets/vyos_config/tests/cli_config/cli_backup.yaml index db35410..03450c3 100644 --- a/tests/integration/targets/vyos_config/tests/cli_config/cli_backup.yaml +++ b/tests/integration/targets/vyos_config/tests/cli_config/cli_backup.yaml @@ -8,6 +8,7 @@ with_items: - "{{ role_path }}/backup_test_dir/" - "{{ role_path }}/backup/backup.cfg" + run_once: true - name: collect any backup files find: -- cgit v1.2.3