get upstream release vars (needed for docker ubuntu repos)
This commit is contained in:
parent
932696daa2
commit
4c10e575ac
5
mint.sh
5
mint.sh
@ -31,6 +31,9 @@ sudo apt-get -y install ttf-mscorefonts-installer
|
||||
# Cleanup broken installs
|
||||
dpkg --configure -a
|
||||
|
||||
# get upstream release vars (needed for docker ubuntu repos)
|
||||
. /etc/upstream-release/lsb-release
|
||||
|
||||
# run ansible playbooks
|
||||
for playbook in debian.ansible.basics \
|
||||
gtc-rename \
|
||||
@ -48,7 +51,7 @@ for playbook in debian.ansible.basics \
|
||||
do
|
||||
sudo rm -rf ${playbook}
|
||||
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
|
||||
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml
|
||||
sudo ansible-playbook -e ansible_distribution=${DISTRIB_ID} -e ansible_distribution_release=${DISTRIB_CODENAME} --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml
|
||||
sudo rm -rf ${playbook}
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user