mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
ansible tells me not to use {s in when, lets see if this works
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user