X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Finit-system.sh;h=7b157f5d4792aad0199a1a19125556984d1f4b27;hb=2ad0270fc8bb1cbaa0b364bdbcab6d0a515a95bc;hp=07a8ff76bf5434b09b4fa9757bfae4ef3100d715;hpb=f7e665139a974b34b7f0694e3fbe68a92c7d14a5;p=ansible.git diff --git a/playbooks/debian/init-system.sh b/playbooks/debian/init-system.sh index 07a8ff7..7b157f5 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 && -ansible-playbook remove-systemd.yml "$@" -e hosts="$host" && +../run-roles debian/remove-systemd.yml "$@" -e hosts="$host" && exec ansible-playbook ../init-system2.yml "$@" -e hosts="$host"