diff options
author | Kevin Fenzi <kevin@scrye.com> | 2017-04-20 16:57:07 +0000 |
---|---|---|
committer | Kevin Fenzi <kevin@scrye.com> | 2017-04-20 16:57:07 +0000 |
commit | 9b77ca729b3d8ea304d99e795c9aae77006c57a5 (patch) | |
tree | 92919c8745ab49949a26d7312b1dff40c01bef8e | |
parent | 7e1cacc45c72278ebeb5c431f5f5aec7f6221ad2 (diff) | |
download | ansible-9b77ca729b3d8ea304d99e795c9aae77006c57a5.tar.gz ansible-9b77ca729b3d8ea304d99e795c9aae77006c57a5.tar.xz ansible-9b77ca729b3d8ea304d99e795c9aae77006c57a5.zip |
ansible tells me not to use {s in when, lets see if this works
-rw-r--r-- | roles/base/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 0a2ff3a0d..d202a05c0 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -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 |