mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
always prep sshd
There isn't any reason not to do this. We still only actually enable the service when asked to in the config.
This commit is contained in:
parent
48912b59db
commit
2e84ecca61
1 changed files with 0 additions and 2 deletions
|
|
@ -7,11 +7,9 @@
|
|||
|
||||
- name: Create OpenSSH systemd unit file directory
|
||||
file: path=/etc/systemd/system/sshd.socket.d state=directory
|
||||
when: ssh.enable_sshd == True
|
||||
|
||||
- name: Push OpenSSH socket unit file
|
||||
template: src=sshd-socket-override.conf.j2 dest=/etc/systemd/system/sshd.socket.d/override.conf
|
||||
when: ssh.enable_sshd == True
|
||||
|
||||
- name: Enable and start OpenSSH
|
||||
service: name=sshd.socket enabled=yes state=started
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue