Always run this shell task since it registers a variable we need to use.

This commit is contained in:
Kevin Fenzi 2016-01-10 22:38:50 +00:00
parent 0d28ea5231
commit 8e8d3a98c1

View file

@ -150,6 +150,7 @@
- name: check to see if sshd port is already known by selinux
shell: semanage port -l | grep ssh
register: sshd_selinux_port
always_run: yes
- name: allow alternate sshd port
command: semanage port -a -t ssh_port_t -p tcp {{ sshd_port }}