diff --git a/tests/tests_alternative_file.yml b/tests/tests_alternative_file.yml index 3ab67d2..764fc61 100644 --- a/tests/tests_alternative_file.yml +++ b/tests/tests_alternative_file.yml @@ -169,7 +169,7 @@ that: - "'Include /etc/ssh/sshd_config.d/*.conf' in config3.content | b64decode" - "'AuthorizedKeysFile .ssh/authorized_keys' in config3.content | b64decode" - - "'Subsystem sftp /usr/libexec/sftp-server' in config3.content | b64decode" + - "'Subsystem sftp /usr/libexec/openssh/sftp-server' in config3.content | b64decode" when: - ansible_facts['os_family'] == 'RedHat' - ansible_facts['distribution_major_version']|int > 8 diff --git a/tests/tests_alternative_file_role.yml b/tests/tests_alternative_file_role.yml index 783f495..3c07c8c 100644 --- a/tests/tests_alternative_file_role.yml +++ b/tests/tests_alternative_file_role.yml @@ -188,7 +188,7 @@ that: - "'Include /etc/ssh/sshd_config.d/*.conf' in config3.content | b64decode" - "'AuthorizedKeysFile .ssh/authorized_keys' in config3.content | b64decode" - - "'Subsystem sftp /usr/libexec/sftp-server' in config3.content | b64decode" + - "'Subsystem sftp /usr/libexec/openssh/sftp-server' in config3.content | b64decode" when: - ansible_facts['os_family'] == 'RedHat' - ansible_facts['distribution_major_version']|int > 8