trombik.redhat_repo
ansible-role-redhat_repo
Add extra yum repositories.
Requirements
None
Role Variables
Variable | Description | Default |
---|---|---|
redhat_repo |
A dictionary of repositories (see below) | {} |
redhat_repo_extra_packages |
A list of extra packages to install | [] |
Created by yaml2readme.rb
redhat_repo
This variable is a dictionary containing other dictionaries. The first level key is the name of the repository. The corresponding value is another dictionary that holds key-value pairs of settings supported by yum_repository
.
Dependencies
None
Example Playbook
- hosts: localhost
roles:
- ansible-role-redhat_repo
vars:
redhat_repo_extra_packages:
- epel-release
redhat_repo:
epel:
mirrorlist: "http://mirrors.fedoraproject.org/mirrorlist?repo=epel-{{ ansible_distribution_major_version }}&arch={{ ansible_architecture }}"
gpgcheck: yes
enabled: yes
License
Copyright (c) 2016 Tomoyuki Sakurai y@trombik.org
You are free to use, copy, change, 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.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DOES NOT GUARANTEE ANYTHING REGARDING THIS SOFTWARE, INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. THE AUTHOR IS NOT LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF THIS SOFTWARE.
Author Information
Tomoyuki Sakurai y@trombik.org
This README was created by ansible-role-init
ansible-galaxy install trombik.redhat_repo