diff --git a/tests/integration/targets/alternatives/tasks/subcommands.yml b/tests/integration/targets/alternatives/tasks/subcommands.yml index 1d0d8ee1c0..ba4ecbbafe 100644 --- a/tests/integration/targets/alternatives/tasks/subcommands.yml +++ b/tests/integration/targets/alternatives/tasks/subcommands.yml @@ -32,15 +32,6 @@ that: - cmd.stdout == "dummy2" -- name: Get dummymain alternatives output - command: - argv: '{{ alternatives_command }} --display dummymain' - register: result - -- name: Print result - debug: - var: result.stdout_lines - - name: Subcommands are not removed if not specified alternatives: name: dummymain @@ -84,13 +75,4 @@ assert: that: - cmd.rc == 2 - - '"No such file" in cmd.msg' - -- name: Get dummymain alternatives output - command: - argv: '{{ alternatives_command }} --display dummymain' - register: result - -- name: Print result - debug: - var: result.stdout_lines + - '"No such file" in cmd.msg' \ No newline at end of file diff --git a/tests/integration/targets/alternatives/vars/Debian.yml b/tests/integration/targets/alternatives/vars/Debian.yml index d2cdd0cd0e..1e83283e4d 100644 --- a/tests/integration/targets/alternatives/vars/Debian.yml +++ b/tests/integration/targets/alternatives/vars/Debian.yml @@ -1,3 +1,2 @@ --- alternatives_dir: /var/lib/dpkg/alternatives/ -alternatives_command: update-alternatives diff --git a/tests/integration/targets/alternatives/vars/Suse-42.3.yml b/tests/integration/targets/alternatives/vars/Suse-42.3.yml index 14958db39a..37664ddb56 100644 --- a/tests/integration/targets/alternatives/vars/Suse-42.3.yml +++ b/tests/integration/targets/alternatives/vars/Suse-42.3.yml @@ -1,3 +1,2 @@ --- alternatives_dir: /var/lib/rpm/alternatives/ -alternatives_command: update-alternatives diff --git a/tests/integration/targets/alternatives/vars/default.yml b/tests/integration/targets/alternatives/vars/default.yml index 7aeb9bb562..d00123ded3 100644 --- a/tests/integration/targets/alternatives/vars/default.yml +++ b/tests/integration/targets/alternatives/vars/default.yml @@ -1,3 +1,2 @@ --- alternatives_dir: /var/lib/alternatives/ -alternatives_command: update-alternatives