Project

General

Profile

Actions

Bug #39129

closed

Ansible tab in host details does not refresh when roles are added or removed

Added by Adam Ruzicka 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Description of problem:
SSIA

How reproducible:
Always

Is this issue a regression from an earlier version:
Yes

Steps to Reproduce:
1. Have a host
2. Have ansible roles
3. Go to details of host
4. Go to Ansible tab
5. Click Assign roles directly to host
6. Select a role, move it to the right column, click confirm

The other direction
1. Have a host with a single ansible role already assigned
2. Go to details of host
3. Go to Ansible tab
4. Click edit ansible roles
5. Move the role the the left column, click confirn

Actual behavior:
After assigning the roles, the modal closes but the page still shows the "empty state".

After removing the roles, the modal closes but the page still shows the table with the previously assigned roles.

It sorts itself out after a reload.

Expected behavior:
After assigning the roles, the modal closes and the page shows the table with the roles without needing a reload.

After removing the roles, the modal closes and the page still shows the "empty state" without needing a reload.

Actions

Also available in: Atom PDF