Bug 2228382 - [RFE] Add needs_publish option to content view related module(s)
Summary: [RFE] Add needs_publish option to content view related module(s)
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible Collection
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-02 09:39 UTC by Jan Senkyrik
Modified: 2023-08-03 13:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github theforeman foreman-ansible-modules issues 1645 0 None open Update API for new Content View Options (needs_publish) 2023-08-03 13:15:34 UTC

Description Jan Senkyrik 2023-08-02 09:39:15 UTC
Description of problem:

Now that Foreman (Satellite) has the ability to analyze content views and support a "needs published" feature, it would be nice to support this for Ansible. Currently, whenever Ansible playbooks are used around content views, it will create/publish new CVs when this isn't needed. This makes the playbook non-idempotent and causes a lot of extra CVs.

Implement the needs_publish for the content views similar to the flags that will be available in hammer.


See related upstream issue [0].


[0] https://github.com/theforeman/foreman-ansible-modules/issues/1645


Note You need to log in before you can comment on or make changes to this bug.