ci: Fix sshd configuration during image prep
This will allow image preparation using Ansible versions that - predate ansible_facts.* - predate loop keyword - predate collectionspull/1252/head
parent
20e23b5bd9
commit
f2e0e552ac
@ -0,0 +1,2 @@
|
|||||||
|
- name: Restart sshd
|
||||||
|
meta: noop
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
- name: Restart sshd
|
||||||
|
shell: |
|
||||||
|
launchctl unload /System/Library/LaunchDaemons/ssh.plist
|
||||||
|
wait 5
|
||||||
|
launchctl load -w /System/Library/LaunchDaemons/ssh.plist
|
||||||
|
changed_when: true
|
||||||
Loading…
Reference in New Issue