„build-debian-env.sh“ ändern
This commit is contained in:
parent
cf386b2716
commit
391ce29460
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user