Also make this task never change
This commit is contained in:
parent
8e8d3a98c1
commit
f155240ba8
1 changed files with 1 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue