Skip to content

Instantly share code, notes, and snippets.

@lpenz
Last active November 4, 2021 02:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lpenz/bbc45f0038e2ff6125d9d30193333032 to your computer and use it in GitHub Desktop.
Save lpenz/bbc45f0038e2ff6125d9d30193333032 to your computer and use it in GitHub Desktop.
Install apt repositories with ansible
#!/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