From: Oleg Broytman Date: Sun, 6 Mar 2022 17:10:56 +0000 (+0300) Subject: Fix(playbooks/debian): Fix path to the roles X-Git-Url: https://git.phdru.name/?p=ansible.git;a=commitdiff_plain;h=6f18068c9e75ed3d0a3dac95db9513f8a89e082f Fix(playbooks/debian): Fix path to the roles --- 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"