ansible tells me not to use {s in when, lets see if this works
This commit is contained in:
parent
7e1cacc45c
commit
9b77ca729b
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@
|
||||||
|
|
||||||
- name: allow alternate sshd port
|
- name: allow alternate sshd port
|
||||||
command: semanage port -a -t ssh_port_t -p tcp {{ 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:
|
tags:
|
||||||
- sshd_config
|
- sshd_config
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue