Fix terminal deployment regressions
This commit is contained in:
@@ -21,6 +21,13 @@
|
||||
mode: "0644"
|
||||
register: courseware_terminal_sshd_config
|
||||
|
||||
- name: Ensure sshd runtime directory exists
|
||||
become: true
|
||||
file:
|
||||
path: /run/sshd
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Validate sshd configuration
|
||||
become: true
|
||||
command:
|
||||
@@ -31,13 +38,6 @@
|
||||
- /etc/ssh/sshd_config
|
||||
changed_when: false
|
||||
|
||||
- name: Ensure sshd runtime directory exists
|
||||
become: true
|
||||
file:
|
||||
path: /run/sshd
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Start and enable sshd with systemd when available
|
||||
become: true
|
||||
systemd:
|
||||
|
||||
Reference in New Issue
Block a user