From: Oleg Broytman Date: Sun, 22 Mar 2020 16:45:27 +0000 (+0300) Subject: Fix(debian/init-system): Fix roles path X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=0feb58457296582a1bfbb990096b09b62878a9f7;p=ansible.git Fix(debian/init-system): Fix roles path --- 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"