Revert "ansible tells me not to use {s in when, lets see if this works"

This reverts commit 9b77ca729b.
This commit is contained in:
Kevin Fenzi 2017-04-20 17:03:09 +00:00
parent 9b77ca729b
commit db328d7ac2

View file

@ -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