From 0feb58457296582a1bfbb990096b09b62878a9f7 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 22 Mar 2020 19:45:27 +0300 Subject: [PATCH] Fix(debian/init-system): Fix roles path --- playbooks/debian/init-system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5