From: Oleg Broytman Date: Mon, 15 Jul 2019 23:58:26 +0000 (+0300) Subject: Fix(debian-init-system): Access playbooks in the home directory X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f56517da2f8dc254b6af3c6389d8508a48a6eced;p=ansible.git Fix(debian-init-system): Access playbooks in the home directory --- diff --git a/playbooks/debian-init-system.sh b/playbooks/debian-init-system.sh index 8089e1d..bc2cc93 100755 --- a/playbooks/debian-init-system.sh +++ b/playbooks/debian-init-system.sh @@ -1,5 +1,7 @@ #! /bin/sh +cd "`dirname \"$0\"`" && + # Passwordless access isn't configured yet; use `ssh` connection sharing. # `sudo` isn't configured yet too; use `su` and ask for root password. exec ansible-playbook debian-init-system.yml debian-init-user-phd.yml \