X-Git-Url: https://git.phdru.name/?p=ansible.git;a=blobdiff_plain;f=playbooks%2Fdebian%2Finit-system.sh;h=e72f3182ce15e61fdd4e8695e25391cddee6de79;hp=7b157f5d4792aad0199a1a19125556984d1f4b27;hb=0feb58457296582a1bfbb990096b09b62878a9f7;hpb=1bba46ca5950129a076d5176487d1305687503bf diff --git a/playbooks/debian/init-system.sh b/playbooks/debian/init-system.sh index 7b157f5..e72f318 100755 --- a/playbooks/debian/init-system.sh +++ b/playbooks/debian/init-system.sh @@ -16,5 +16,5 @@ export ANSIBLE_ROLES_PATH && # `sudo` isn't configured yet too; use `su` and ask for root password. ansible-playbook ../init-system.yml "$@" -e hosts="$host" \ --become-method=su -K && -../run-roles debian/remove-systemd.yml "$@" -e hosts="$host" && +ANSIBLE_ROLES_PATH=debian/roles ../run-roles remove-systemd "$@" -e hosts="$host" && exec ansible-playbook ../init-system2.yml "$@" -e hosts="$host"