]> git.phdru.name Git - ansible.git/commitdiff
Fix(debian/init-system): Fix roles path
authorOleg Broytman <phd@phdru.name>
Sun, 22 Mar 2020 16:45:27 +0000 (19:45 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 22 Mar 2020 16:45:27 +0000 (19:45 +0300)
playbooks/debian/init-system.sh

index 7b157f5d4792aad0199a1a19125556984d1f4b27..e72f3182ce15e61fdd4e8695e25391cddee6de79 100755 (executable)
@@ -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"