X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian-init-system.sh;h=8655c7293f149adf7946a64776b873881217110c;hb=f4436893f15c153a266daf92f1d6a928f9927e02;hp=8089e1d905b19da22b99d124a06a34a9da40cb2d;hpb=fdc7c531142c4c200a0d1055b4582210ad298c25;p=ansible.git diff --git a/playbooks/debian-init-system.sh b/playbooks/debian-init-system.sh index 8089e1d..8655c72 100755 --- a/playbooks/debian-init-system.sh +++ b/playbooks/debian-init-system.sh @@ -1,6 +1,8 @@ #! /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 \ - "$@" --become-method=su -Kv +ansible-playbook debian/init-system.yml "$@" --become-method=su -K && +exec ./run-role debian/remove-systemd "$@"