diff options
author | Gaige B Paulsen <gaige@cluetrust.com> | 2025-02-12 17:39:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-12 17:39:05 -0500 |
commit | 3194cd641bafa7f2a110d83e685ee26102c4e630 (patch) | |
tree | 937d60168a76ac3e994eaeedd00afd965144f972 /tests | |
parent | 0d80a81119c847c83ef87b635a7ee180d6bb6689 (diff) | |
download | vyos.vyos-3194cd641bafa7f2a110d83e685ee26102c4e630.tar.gz vyos.vyos-3194cd641bafa7f2a110d83e685ee26102c4e630.zip |
T7005: fix: integration tests for multiple hosts (#390)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/targets/vyos_config/tests/cli/backup.yaml | 3 | ||||
-rw-r--r-- | tests/integration/targets/vyos_config/tests/cli_config/cli_backup.yaml | 1 |
2 files changed, 3 insertions, 1 deletions
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: |