Skip to content

Instantly share code, notes, and snippets.

@lpenz lpenz/ansible-apt-repos
Last active Jun 23, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.