diff options
Diffstat (limited to 'test/integration/targets/vyos_command')
-rw-r--r-- | test/integration/targets/vyos_command/aliases (renamed from test/integration/targets/vyos_command/vyos_command/aliases) | 0 | ||||
-rw-r--r-- | test/integration/targets/vyos_command/defaults/main.yaml (renamed from test/integration/targets/vyos_command/vyos_command/defaults/main.yaml) | 0 | ||||
-rw-r--r-- | test/integration/targets/vyos_command/tasks/cli.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tasks/cli.yaml) | 0 | ||||
-rw-r--r-- | test/integration/targets/vyos_command/tasks/main.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tasks/main.yaml) | 0 | ||||
-rw-r--r-- | test/integration/targets/vyos_command/tests/cli/bad_operator.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/bad_operator.yaml) | 2 | ||||
-rw-r--r-- | test/integration/targets/vyos_command/tests/cli/cli_command.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/cli_command.yaml) | 0 | ||||
-rw-r--r-- | test/integration/targets/vyos_command/tests/cli/contains.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/contains.yaml) | 2 | ||||
-rw-r--r-- | test/integration/targets/vyos_command/tests/cli/invalid.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/invalid.yaml) | 4 | ||||
-rw-r--r-- | test/integration/targets/vyos_command/tests/cli/output.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/output.yaml) | 6 | ||||
-rw-r--r-- | test/integration/targets/vyos_command/tests/cli/timeout.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/timeout.yaml) | 2 |
10 files changed, 8 insertions, 8 deletions
diff --git a/test/integration/targets/vyos_command/vyos_command/aliases b/test/integration/targets/vyos_command/aliases index 539d957..539d957 100644 --- a/test/integration/targets/vyos_command/vyos_command/aliases +++ b/test/integration/targets/vyos_command/aliases diff --git a/test/integration/targets/vyos_command/vyos_command/defaults/main.yaml b/test/integration/targets/vyos_command/defaults/main.yaml index 9ef5ba5..9ef5ba5 100644 --- a/test/integration/targets/vyos_command/vyos_command/defaults/main.yaml +++ b/test/integration/targets/vyos_command/defaults/main.yaml diff --git a/test/integration/targets/vyos_command/vyos_command/tasks/cli.yaml b/test/integration/targets/vyos_command/tasks/cli.yaml index 890d3ac..890d3ac 100644 --- a/test/integration/targets/vyos_command/vyos_command/tasks/cli.yaml +++ b/test/integration/targets/vyos_command/tasks/cli.yaml diff --git a/test/integration/targets/vyos_command/vyos_command/tasks/main.yaml b/test/integration/targets/vyos_command/tasks/main.yaml index 415c99d..415c99d 100644 --- a/test/integration/targets/vyos_command/vyos_command/tasks/main.yaml +++ b/test/integration/targets/vyos_command/tasks/main.yaml diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/bad_operator.yaml b/test/integration/targets/vyos_command/tests/cli/bad_operator.yaml index 9e9de9f..bf3334f 100644 --- a/test/integration/targets/vyos_command/vyos_command/tests/cli/bad_operator.yaml +++ b/test/integration/targets/vyos_command/tests/cli/bad_operator.yaml @@ -2,7 +2,7 @@ - debug: msg="START cli/bad_operator.yaml on connection={{ ansible_connection }}" - name: test bad operator - vyos_command: + vyos.vyos.vyos_command: commands: - show version - show interfaces diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/cli_command.yaml b/test/integration/targets/vyos_command/tests/cli/cli_command.yaml index caeb202..caeb202 100644 --- a/test/integration/targets/vyos_command/vyos_command/tests/cli/cli_command.yaml +++ b/test/integration/targets/vyos_command/tests/cli/cli_command.yaml diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/contains.yaml b/test/integration/targets/vyos_command/tests/cli/contains.yaml index 85c6e86..b8665fa 100644 --- a/test/integration/targets/vyos_command/vyos_command/tests/cli/contains.yaml +++ b/test/integration/targets/vyos_command/tests/cli/contains.yaml @@ -2,7 +2,7 @@ - debug: msg="START cli/contains.yaml on connection={{ ansible_connection }}" - name: test contains operator - vyos_command: + vyos.vyos.vyos_command: commands: - show version - show interface diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/invalid.yaml b/test/integration/targets/vyos_command/tests/cli/invalid.yaml index e6d25e4..672f6e8 100644 --- a/test/integration/targets/vyos_command/vyos_command/tests/cli/invalid.yaml +++ b/test/integration/targets/vyos_command/tests/cli/invalid.yaml @@ -2,7 +2,7 @@ - debug: msg="START cli/invalid.yaml on connection={{ ansible_connection }}" - name: run invalid command - vyos_command: + vyos.vyos.vyos_command: commands: show foo register: result ignore_errors: yes @@ -10,7 +10,7 @@ - assert: { that: result.failed } - name: run commands that include invalid command - vyos_command: + vyos.vyos.vyos_command: commands: - show version - show foo diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/output.yaml b/test/integration/targets/vyos_command/tests/cli/output.yaml index 294f62f..bdc8b2a 100644 --- a/test/integration/targets/vyos_command/vyos_command/tests/cli/output.yaml +++ b/test/integration/targets/vyos_command/tests/cli/output.yaml @@ -2,7 +2,7 @@ - debug: msg="START cli/output.yaml on connection={{ ansible_connection }}" - name: get output for single command - vyos_command: + vyos.vyos.vyos_command: commands: show version register: result @@ -13,7 +13,7 @@ - result.stdout_lines is defined - name: get output for multiple commands - vyos_command: + vyos.vyos.vyos_command: commands: - show version - show interfaces @@ -26,7 +26,7 @@ - result.stdout | length == 2 - name: Get output for multiple commands that call less explicitly - vyos_command: + vyos.vyos.vyos_command: commands: # NOTE: We only test show commands that will output <ANSIBLE_VYOS_TERMINAL_LENGTH # Otherwise you will get ": "command timeout triggered" diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/timeout.yaml b/test/integration/targets/vyos_command/tests/cli/timeout.yaml index 4994ebf..e4716ed 100644 --- a/test/integration/targets/vyos_command/vyos_command/tests/cli/timeout.yaml +++ b/test/integration/targets/vyos_command/tests/cli/timeout.yaml @@ -2,7 +2,7 @@ - debug: msg="START cli/timeout.yaml on connection={{ ansible_connection }}" - name: test bad condition - vyos_command: + vyos.vyos.vyos_command: commands: - show version wait_for: |