dwcramer.apt-repository

apt-repository

Role for handling apt repositories.

Forked from telusdigital because we needed to depend on release versions.

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

About

Adds a repository for apt and imports the corresponding signing key.

Install
ansible-galaxy install dwcramer.apt-repository
GitHub repository
License
mit
Downloads
200