X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Finit-system.sh;h=2937b319fb760ffd5fede030386a048d20652a16;hb=fa27eb72c88f826512918f1f0f41321ad9d8a065;hp=512ce025745b729aaa7258b0ab2524662feb4aad;hpb=821cc704535e7fb9a2aaafc5692ad68e38308786;p=ansible.git diff --git a/playbooks/debian/init-system.sh b/playbooks/debian/init-system.sh index 512ce02..2937b31 100755 --- a/playbooks/debian/init-system.sh +++ b/playbooks/debian/init-system.sh @@ -9,11 +9,10 @@ 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" \ --become-method=su -K && +../run-roles remove-systemd "$@" -e hosts="$host" && exec ansible-playbook ../init-system2.yml "$@" -e hosts="$host"