Bug 2228382

Summary: [RFE] Add needs_publish option to content view related module(s)
Product: Red Hat Satellite Reporter: Jan Senkyrik <jsenkyri>
Component: Ansible CollectionAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: rlavi
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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