pkg_mirror
ansible.pkg_mirror
Manage system package sources
Requirements
Role Variables
pkg_mirror_gpgkey_url: '<gpg url>'
pkg_mirror_gpg_directory: '<apt trusted gpg directory>'
pkg_mirror_sources_file: /etc/apt/sources.list.d/<filename>.list
pkg_mirror_url_list_debian:
- 'deb <repo url>/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} main'
pkg_mirror_auth_entries:
- auth_machine: <repo hostname>
auth_login: <repo username>
auth_password: <repo password>
pkg_mirror_url_list_redhat:
- name: '<repo name>'
description: '<repo description>'
baseurl: '<repo url>'
gpgcheck: yes
gpgkey: '<gpg url>'
username: '<basic auth user>'
password: '<basic auth pass>'
pkg_mirror_url_list_suse:
- name: '<repo name>'
description: '<repo description>'
repo: '<repo url>'
Dependencies
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: adfinis.pkg_mirror }
License
Author Information
pkg_mirror role was written by:
Install
ansible-galaxy install adfinis-sygroup/ansible-role-pkg_mirror
License
gpl-3.0
Downloads
5093
Owner
Adfinis SyGroup was rebranded to Adfinis, follow the link below: