From 33b95e1b7f5543a840b926bbca4f0589c521a354 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Mon, 27 Jun 2022 23:09:39 -0400 Subject: [PATCH] initial-setup: Use stop/start for sshd instead of kickstart --- initial-setup.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/initial-setup.yml b/initial-setup.yml index 0cce09c..ebdac5d 100644 --- a/initial-setup.yml +++ b/initial-setup.yml @@ -12,7 +12,8 @@ - name: Fix /var/mobile permissions raw: chmod 750 /var/mobile - name: restart sshd - raw: launchctl kickstart -k system/com.openssh.sshd + raw: launchctl stop system/com.openssh.sshd; launchctl start system/com.openssh.sshd + ignore_errors: yes - name: copy python 2.7 deb local_action: command scp -r ./python_2.7.6-3_iphoneos-arm.deb "{{ inventory_hostname }}:" become: false