From 6f18068c9e75ed3d0a3dac95db9513f8a89e082f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 6 Mar 2022 20:10:56 +0300 Subject: [PATCH] Fix(playbooks/debian): Fix path to the roles --- playbooks/debian/add-apache-vhost | 2 +- playbooks/debian/add-dns-domain | 2 +- playbooks/debian/init-system.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/debian/add-apache-vhost b/playbooks/debian/add-apache-vhost index 41c866c..5acb1e2 100755 --- a/playbooks/debian/add-apache-vhost +++ b/playbooks/debian/add-apache-vhost @@ -9,5 +9,5 @@ vhost="$1" shift cd "`dirname \"$0\"`" && -exec ../run-roles add-apache-vhost "$@" \ +exec ../run-roles debian/add-apache-vhost "$@" \ -e virtual_host="$vhost" -e gather_facts=true diff --git a/playbooks/debian/add-dns-domain b/playbooks/debian/add-dns-domain index c62fd73..8e81790 100755 --- a/playbooks/debian/add-dns-domain +++ b/playbooks/debian/add-dns-domain @@ -9,5 +9,5 @@ domain="$1" shift cd "`dirname \"$0\"`" && -exec ../run-roles add-dns-domain "$@" \ +exec ../run-roles debian/add-dns-domain "$@" \ -e domain="$domain" -e gather_facts=true diff --git a/playbooks/debian/init-system.sh b/playbooks/debian/init-system.sh index 9fae195..3b5deef 100755 --- a/playbooks/debian/init-system.sh +++ b/playbooks/debian/init-system.sh @@ -16,5 +16,5 @@ cd "`dirname \"$0\"`" && # `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" && +../run-roles debian/remove-systemd "$@" -e hosts="$host" && exec ansible-playbook ../init-system2.yml "$@" -e hosts="$host" -- 2.39.5