adfinis-sygroup.pkg_mirror
ansible.pkg_mirror
Manage system package sources
Requirements
- None specified
Role Variables
pkg_mirror_gpgkey_url: '<gpg url>'
pkg_mirror_gpg_directory: '<directory for trusted gpg keys>'
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: <repository hostname>
auth_login: <repository username>
auth_password: <repository password>
pkg_mirror_url_list_redhat:
- name: '<repository name>'
description: '<repository description>'
baseurl: '<repository url>'
gpgcheck: yes
gpgkey: '<gpg url>'
username: '<basic auth user>'
password: '<basic auth password>'
pkg_mirror_url_list_suse:
- name: '<repository name>'
description: '<repository description>'
repo: '<repository url>'
Dependencies
- None specified
Example Playbook
Here's an example of how to use this role (with variables passed in):
- hosts: servers
roles:
- { role: adfinis.pkg_mirror }
License
Author Information
The pkg_mirror role was created by:
Installa
ansible-galaxy install adfinis-sygroup.pkg_mirror
Licenza
gpl-3.0
Download
5.3k
Proprietario
Adfinis SyGroup was rebranded to Adfinis, follow the link below: