In ansible 2.2 always_run is depreciated. Switch to check_mode.
This commit is contained in:
parent
1fe7e9264d
commit
b1a2d105c9
67 changed files with 124 additions and 124 deletions
|
@ -150,7 +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
|
||||
check_mode: no
|
||||
changed_when: false
|
||||
|
||||
- name: allow alternate sshd port
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue