/add-deb-repo

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

add-deb-repo

Add deb repository. The gpg key can be added through repository_url or through key_url

Requirements

Have apt-transport-https installed

Role Variables

  • deb_repository: Dictionary with repository information
    • url: Url of the repository
    • options: Options to the repository, such as jessie main contrib non-free or xenial-security universe
  • gpg_key: Dictionary with gpg key information of the repository
    • repository_url: Url to the key repository
    • key_url: Url to the key
    • id: ID of the key

Dependencies

None

Example playbook

- hosts: all
  roles:
    - add-deb-repo

Testing

You should have molecule installed, then

molecule test --all

License

GPLv2

Author Information

jamatute (jamatute@paradigmadigital.com)