ezamriy / ansible-role-local-cl-mirror

An Ansible role that changes CloudLinux yum repository URLs to the specified local mirror.

Home Page:https://galaxy.ansible.com/ezamriy/local-cl-mirror

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

local-cl-mirror

An Ansible role that changes CloudLinux yum repository URLs to the specified local mirror.
Warning: that role is for CloudLinux OS development purposes only, don't use it in production.

Role Variables

Available variables and their default values are listed below:

  • local_cl_mirror_host: '' - (required) a local mirror hostname.
  • local_cl_mirror_proto: 'http' - connection protocol to use (e.g. https, ftp).
  • local_cl_mirror_testing_enabled: no - enable or disable updates-testing repository.

Example playbook

    ---
    - hosts: all
      roles:
        - { role: ezamriy.local-cl-mirror,
            local_cl_mirror_host: 'example.com',
            local_cl_mirror_testing_enabled: yes }

License

MIT

Authors

About

An Ansible role that changes CloudLinux yum repository URLs to the specified local mirror.

https://galaxy.ansible.com/ezamriy/local-cl-mirror

License:MIT License