X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Finit-system.sh;h=c44eb832ea86036bfd22778fb1c458634db122b4;hb=86f60f40dd650fcf9ac23e40b9afa8357d00e2c2;hp=2363c803ea412f30c6e0669ab37363b1eff5b5f6;hpb=9e362f765b63334b5f48c40da7ebdd2431e79e7e;p=ansible.git diff --git a/playbooks/debian/init-system.sh b/playbooks/debian/init-system.sh index 2363c80..c44eb83 100755 --- a/playbooks/debian/init-system.sh +++ b/playbooks/debian/init-system.sh @@ -9,9 +9,11 @@ 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"