]> git.phdru.name Git - ansible.git/commitdiff
Fix(debian-init-system): Access playbooks in the home directory
authorOleg Broytman <phd@phdru.name>
Mon, 15 Jul 2019 23:58:26 +0000 (02:58 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 16 Jul 2019 18:28:42 +0000 (21:28 +0300)
playbooks/debian-init-system.sh

index 8089e1d905b19da22b99d124a06a34a9da40cb2d..bc2cc93c543e35ca687f6f1fac95459569b9e5e5 100755 (executable)
@@ -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 \