Skip to content

Commit

Permalink
clarify documentation which module should be used for Red Hat Reposit…
Browse files Browse the repository at this point in the history
…ories

Fixes: theforeman#1059
  • Loading branch information
evgeni committed Nov 17, 2020
1 parent b3058ed commit b3b2372
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/1059-repository_set-docs.yml
@@ -0,0 +1,2 @@
bugfixes:
- repository_set, repository - clarify documentation which module should be used for Red Hat Repositories (https://github.com/theforeman/foreman-ansible-modules/issues/1059)
4 changes: 4 additions & 0 deletions plugins/modules/repository.py
Expand Up @@ -27,6 +27,10 @@
description:
- Crate and manage repositories
author: "Eric D Helms (@ehelms)"
notes:
- You can configure certain aspects of existing Red Hat Repositories (like I(download_policy)) using this module,
but you can't create (enable) or delete (disable) them.
- If you want to enable or disable Red Hat Repositories, please use the M(theforeman.foreman.repository_set) module instead.
options:
name:
description:
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/repository_set.py
Expand Up @@ -23,9 +23,9 @@
---
module: repository_set
version_added: 1.0.0
short_description: Enable/disable Repositories in Repository Sets
short_description: Enable/disable Red Hat Repositories
description:
- Enable/disable repositories in repository sets
- Enable/disable Red Hat Repositories
author: "Andrew Kofink (@akofink)"
options:
name:
Expand Down

0 comments on commit b3b2372

Please sign in to comment.