X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Finit-system.sh;h=07a8ff76bf5434b09b4fa9757bfae4ef3100d715;hb=6adff1c98d1617bb9ca154b4530d30e8d0f2c7b9;hp=2363c803ea412f30c6e0669ab37363b1eff5b5f6;hpb=92c8c7fac96ee136015c6522258007aa92c03288;p=ansible.git diff --git a/playbooks/debian/init-system.sh b/playbooks/debian/init-system.sh index 2363c80..07a8ff7 100755 --- a/playbooks/debian/init-system.sh +++ b/playbooks/debian/init-system.sh @@ -9,9 +9,12 @@ host="$1" shift cd "`dirname \"$0\"`" && +ANSIBLE_ROLES_PATH=roles:../roles && +export ANSIBLE_ROLES_PATH && # Passwordless access isn't configured yet; use `ssh` connection sharing. # `sudo` isn't configured yet too; use `su` and ask for root password. -ansible-playbook init-system.yml "$@" -e hosts="$host" \ +ansible-playbook ../init-system.yml "$@" -e hosts="$host" \ --become-method=su -K && -exec ansible-playbook init-system2.yml "$@" -e hosts="$host" +ansible-playbook remove-systemd.yml "$@" -e hosts="$host" && +exec ansible-playbook ../init-system2.yml "$@" -e hosts="$host"