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

This commit is contained in:
Kevin Fenzi 2017-04-20 16:57:07 +00:00
parent 7e1cacc45c
commit 9b77ca729b

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