Skip to content

chrispoupart/ansible-role-subscription-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Role Name

Enable or disable Red Hat repositories using "subscription-manager"

Role Variables

rhsub_repos:
  - name: rhel-7-server-extras-rpms     # wildcard or repo name
    state: enable                       # enable or disable      

Example Playbook

    - hosts: rhel_servers
      roles:
         - { role: mcgill.subscription-manager }

TODO

  • The tasks need to be refactored to test if a channel is enabled or disabled before running the appropriate command. As it currently stands, it will always "change", though with no negative impact on the server.

License

GPL 3

Author Information

Chris Poupart [email protected]

About

Ensable or disable repositories using subscription-manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published