Only enable ssh, not start
There is an unusual issue occurring when the ssh daemon is asked to start when it is already running. This patch ensures that the ssh daemon is running but it doesn't try to start it. The handler will take care of restarting sshd later on in the role. Change-Id: I544cb4bffe7e41d0614ebea6a47c91e617647866
This commit is contained in:
parent
65d2ec1886
commit
2e5fe3b038
@ -74,10 +74,9 @@
|
||||
- RHEL-07-040670
|
||||
- RHEL-07-040680
|
||||
|
||||
- name: Ensure sshd is running and enabled
|
||||
- name: Ensure sshd is enabled at boot time
|
||||
service:
|
||||
name: "{{ ssh_service }}"
|
||||
state: started
|
||||
enabled: yes
|
||||
when:
|
||||
- security_enable_sshd | bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user