/ansible-apt-repository

Ansible (meta-) Role for adding apt repositories

Primary LanguageRubyMIT LicenseMIT

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