adipriyantobpn.repo-centos

Ansible Role: CentOS Repository

This Ansible Role helps manage the original Yum repository for CentOS.

Requirements

You only need sudo access to use this role.

Role Variables

Here are the variables you can adjust, along with their default values (check defaults/main.yml):

---
repo_location:              indonesia   # options: international, indonesia, klog, vagrant
centos_base_enabled:        yes
centos_updates_enabled:     yes
centos_extras_enabled:      yes
centos_centosplus_enabled:  yes
centos_cr_enabled:          no
centos_fasttrack_enabled:   no

Dependencies

There are no dependencies.

Example Playbook

---
- name: Prepare CentOS 7 server
  hosts: centos7
  roles:
    - role: adipriyantobpn.repo-centos
      repo_location:              international
      centos_base_enabled:        yes
      centos_updates_enabled:     yes
      centos_extras_enabled:      yes
      centos_centosplus_enabled:  no
      centos_cr_enabled:          no
      centos_fasttrack_enabled:   no

License

This role is licensed under BSD.

Author Information

This role was created in 2017 by Adi Priyanto for the community to learn from.

Informazioni sul progetto

Common tasks to manage CentOS original Yum repository

Installa
ansible-galaxy install adipriyantobpn.repo-centos
Licenza
Unknown
Download
89
Proprietario