trombik.freebsd_pkg_repo
ansible-role-freebsd_pkg_repo
This role allows you to enable or disable FreeBSD package repositories.
Requirements
None
Role Variables
Variable | Description | Default |
---|---|---|
freebsd_pkg_repo_dir |
Directory where the repository configuration files are located | /usr/local/etc/pkg/repos |
freebsd_pkg_repo |
{} |
FreeBSD
Variable | Default |
---|---|
__freebsd_pkg_repo_conf_dir |
/usr/local/etc/freebsd_pkg_repo |
Dependencies
None
Example Playbook
---
- hosts: localhost
roles:
- ansible-role-freebsd_pkg_repo
vars:
freebsd_pkg_repo:
# Disable the default package repository
FreeBSD:
enabled: "false"
state: present
# Enable a newer package repository
FreeBSD_latest:
enabled: "true"
state: present
url: pkg+https://pkg.FreeBSD.org/${ABI}/latest
mirror_type: srv
signature_type: fingerprints
fingerprints: /usr/share/keys/pkg
priority: 100
License
Copyright (c) 2019 Tomoyuki Sakurai <[email protected]>
You can use, copy, modify, and share this software for any purpose, with or without payment, as long as this copyright notice and permission notice are included in all copies.
THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR IS NOT RESPONSIBLE FOR ANY DAMAGES RELATED TO ITS USE, INCLUDING ANY LOSS OF DATA OR PROFITS.
Author Information
Tomoyuki Sakurai y@trombik.org
This README was created by qansible
Installa
ansible-galaxy install trombik.freebsd_pkg_repo
Licenza
isc
Download
6k
Proprietario
PGP finger print: 03EB 3D97 5E04 9B0C AB21 93A2 D693 42A9 EFBC 3577
Makerspace and Coliving in Siem Reap, Cambodia: http://info.mkrsgh.org/