]> git.phdru.name Git - ansible.git/commitdiff
Fix(init-system.sh): Fix remote command's quotes
authorOleg Broytman <phd@phdru.name>
Fri, 5 Jun 2026 20:46:23 +0000 (23:46 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 5 Jun 2026 20:46:23 +0000 (23:46 +0300)
playbooks/debian/init-system.sh

index 6a4b3e76ef4bcd4526ba1de999514c436fb2037c..ab1146a0f0612a0cad0ca24eefef83ed09fb5fb5 100755 (executable)
@@ -26,7 +26,7 @@ if [ \! grep -Fqw "$host" ../hosts ]; then
    exit 1
 fi
 
-ssh root@$host exec adduser --comment "Oleg Broytman" phd  # Ignore error: may already be created
+ssh root@$host 'exec adduser --comment "Oleg Broytman" phd'  # Ignore error: may already be created
 # Passwordless access isn't configured yet; use `ssh` connection sharing.
 ssh phd@$host exit &&