Quote PermitRootLogin string for the search.

This avoids the error:
'PermitRootLogin' is undefined

Change-Id: Ibf06ec25e4fea4faaa4534a48d62aa68b0a642a6
Signed-off-by: Luke Short <ekultails@gmail.com>
This commit is contained in:
Luke Short 2020-01-16 16:28:14 -05:00
parent cdbd670ff0
commit 61290176d7

View File

@ -60,7 +60,7 @@
meeting expectations.
when:
- (tripleo_sshd_password_authentication != 'no') and
not (PermitRootLogin in tripleo_sshd_server_options)
not ('PermitRootLogin' in tripleo_sshd_server_options)
- name: Adjust ssh server auth configuration
lineinfile: