Revert "ansible tells me not to use {s in when, lets see if this works"
This reverts commit 9b77ca729b
.
This commit is contained in:
parent
9b77ca729b
commit
db328d7ac2
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@
|
|||
|
||||
- name: allow alternate sshd port
|
||||
command: semanage port -a -t ssh_port_t -p tcp {{ sshd_port }}
|
||||
when: sshd_selinux_port.stdout.find('sshd_port') == -1
|
||||
when: sshd_selinux_port.stdout.find('{{ sshd_port }}') == -1
|
||||
tags:
|
||||
- sshd_config
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue