Ansible (meta-) Role for adding apt repositories
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
meta
tasks
test/integration/default
.kitchen.yml
.travis.yml
Gemfile
LICENSE.txt
README.md

README.md

apt-repository

Role for handling apt repositories.

Platforms

Notes

This role is meant to be depended on for other roles, to reduce boilerplate code in playbooks.

Tunables

  • repository_url (string): URL to add to sources.list
  • repository_key (string): ID for repository signing key. This will be imported into the apt keychain.
  • repository_key_public_key (string): The public key of the repo being added.

Dependencies

  • None

Example Usage

---
dependencies:
  - role: telusdigital.apt-repository
    repository_key: "0x0000000000000000"
    repository_url: "deb http://ppa.launchpad.net/SOME_REPOSITORY {{ ansible_distribution_release }} main"

License

MIT

Contributors