Project

General

Profile

Bug #30833

Hosts filter ansible_role does not work with inherited roles from Hostgroup

Added by Ondřej Ezr about 1 year ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:

Hosts filter does not work with ansible_role search string

Version-Release number of selected component (if applicable):

Red Hat Satellite 6.7

Steps to Reproduce:

1. Assign roles to hostgroup

2. Add hosts to hostgroup

3. Run ansible roles on hostgroup

4. Go to Hosts ---> All hosts

5. Search ansible_role = role

For example : ansible_role = motd

Actual results:

Hosts search not listing hosts with role assigned

Expected results:

Hosts search should return host with roles assigned

Associated revisions

Revision 67e05c81 (diff)
Added by Adi Abramovitch about 2 months ago

Fixes #30833 - Add search by role to hosts

History

#1 Updated by Ondřej Ezr 5 months ago

  • Triaged changed from No to Yes
  • Subject changed from Hosts filter ansible_role does not work with inherited roles from Hostgroup to Hosts filter ansible_role does not work with inherited roles from Hostgroup

We should behave the same as puppetclasses and those can be searched by all_puppetclasses.

#2 Updated by Adi Abramovitch 2 months ago

  • Assignee set to Adi Abramovitch

#3 Updated by The Foreman Bot 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_ansible/pull/447 added

#4 Updated by Adi Abramovitch about 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF