Project

General

Profile

Bug #31879

Message after ansible import without changes is not clear

Added by Ondřej Ezr 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1928479

Description of problem:

We need to be more clear that empty import means no roles (nor variables) have been added or removed.
This will make clear, that we are not detecting any other changes to the roles and variables.

Version-Release number of selected component (if applicable):
Foreman 2.1
ansible 2.7.5

How reproducible:
100 %

Steps to Reproduce:
1. Create or install the ansible roles on the Foreman server and import the roles from Foreman web UI.
2. Modify the roles, i.e. add a task.
3. Import the roles again in the Satellite web UI showing "No changes in roles detected on satellite.example.com".
4. While running the roles on the clients, showing the changes.

Actual results:
Import the roles again in the Foreman web UI showing "No changes in roles detected on satellite.example.com".

Expected results:
It should be clear, what changes we are detecting and that changes made to roles/vars were not tried to be detected.

Something like "No roles or variables have been added nor removed" would do nicely

Additional info:
Changes are applied in the roles and it is visible while running the roles but importing the roles showing "No changes in roles detected on satellite.example.com".


Related issues

Blocked by Ansible - Feature #28287: Import Ansible variables automatically while importing the Ansible RolesClosed

History

#1 Updated by Ondřej Ezr 3 months ago

  • Blocked by Feature #28287: Import Ansible variables automatically while importing the Ansible Roles added

#2 Updated by Marek Hulán 3 months ago

  • Difficulty set to trivial
  • Subject changed from Message after ansible import without changes is not clear to Message after ansible import without changes is not clear

#3 Updated by Ondřej Ezr 3 months ago

  • Status changed from New to Closed

This as been merged as part of #28287

Also available in: Atom PDF