Last active
November 4, 2021 02:47
-
-
Save lpenz/bbc45f0038e2ff6125d9d30193333032 to your computer and use it in GitHub Desktop.
Install apt repositories with ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x -e -o pipefail | |
: for deb-multimedia keyring, browse http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring | |
ansible -i localhost, -c local localhost -m apt_repository -a 'repo="deb http://www.deb-multimedia.org stable main non-free"' | |
ansible -i localhost, -c local localhost -m apt_repository -a 'repo="deb http://www.deb-multimedia.org testing main non-free"' | |
ansible -i localhost, -c local localhost -m apt_repository -a 'repo="deb http://www.deb-multimedia.org unstable main non-free"' | |
: for dropbox | |
ansible -i localhost, -c local localhost -m apt_repository -a 'repo="deb http://linux.dropbox.com/debian jessie main"' | |
ansible -i localhost, -c local localhost -m apt_key -a 'id=1C61A2656FB57B7E4DE0F4C1FC918B335044912E' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment