]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/init-system.sh
Refactor: Move OS-specific roles under common `roles/`
[ansible.git] / playbooks / debian / init-system.sh
index e72f3182ce15e61fdd4e8695e25391cddee6de79..2937b319fb760ffd5fede030386a048d20652a16 100755 (executable)
@@ -9,12 +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 &&
-ANSIBLE_ROLES_PATH=debian/roles ../run-roles remove-systemd "$@" -e hosts="$host" &&
+../run-roles remove-systemd "$@" -e hosts="$host" &&
 exec ansible-playbook ../init-system2.yml "$@" -e hosts="$host"