reallyenglish.redhat-repo

ansible-role-redhat-repo

Add additional yum repositories.

Requirements

None

Role Variables

Variable Description Default
redhat_repo a dict of repositories (see below) {}
redhat_repo_extra_packages a list of additional packages to install []

Created by yaml2readme.rb

redhat_repo

Key is passed to yum module as name. Value is passed as params. See Example Playbook.

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 tomoyukis@reallyenglish.com

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Author Information

Tomoyuki Sakurai tomoyukis@reallyenglish.com

This README was created by ansible-role-init

About

Adds yum repositories

Install
ansible-galaxy install reallyenglish.redhat-repo
GitHub repository
License
isc
Downloads
981
Owner