„build-debian-env.sh“ ändern
This commit is contained in:
parent
cf386b2716
commit
391ce29460
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
|
|
||||||
# install ansible
|
# install ansible
|
||||||
sudo apt-get -y install python3-pip git
|
apt-get -y install python3-pip git
|
||||||
sudo pip install ansible
|
pip install ansible
|
||||||
|
|
||||||
cd /root
|
cd /root
|
||||||
rm -rf $(hostname -s)-git
|
rm -rf $(hostname -s)-git
|
||||||
@ -15,5 +15,5 @@ for playbook in \
|
|||||||
debian.ansible.autoupdate
|
debian.ansible.autoupdate
|
||||||
do
|
do
|
||||||
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
|
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
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user