]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/init-system.sh
Feat(remove-systemd): Run role instead of playbook with 1 task
[ansible.git] / playbooks / debian / init-system.sh
index c44eb832ea86036bfd22778fb1c458634db122b4..7b157f5d4792aad0199a1a19125556984d1f4b27 100755 (executable)
@@ -16,4 +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 &&
-exec ansible-playbook init-system2.yml "$@" -e hosts="$host"
+../run-roles debian/remove-systemd.yml "$@" -e hosts="$host" &&
+exec ansible-playbook ../init-system2.yml "$@" -e hosts="$host"