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:
parent
cdbd670ff0
commit
61290176d7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user