From 391ce294607c73f9fefb24f6127dd5e2e08500e0 Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 28 Apr 2023 15:18:55 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ebuild-debian-env.sh=E2=80=9C=20=C3=A4n?= =?UTF-8?q?dern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-debian-env.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-debian-env.sh b/build-debian-env.sh index 54743a0..739a6cf 100644 --- a/build-debian-env.sh +++ b/build-debian-env.sh @@ -1,8 +1,8 @@ #!/bin/bash -xe # install ansible -sudo apt-get -y install python3-pip git -sudo pip install ansible +apt-get -y install python3-pip git +pip install ansible cd /root rm -rf $(hostname -s)-git @@ -15,5 +15,5 @@ for playbook in \ debian.ansible.autoupdate do git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git - sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml + ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml done