Also make this task never change

This commit is contained in:
Kevin Fenzi 2016-01-10 22:42:32 +00:00
parent 8e8d3a98c1
commit f155240ba8

View file

@ -151,6 +151,7 @@
shell: semanage port -l | grep ssh shell: semanage port -l | grep ssh
register: sshd_selinux_port register: sshd_selinux_port
always_run: yes always_run: yes
changed_when: false
- 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 }}