Project

General

Profile

Actions

Bug #30833

closed

Hosts filter ansible_role does not work with inherited roles from Hostgroup

Added by Ondřej Ezr over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Difficulty:
Triaged:
Yes
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

Actions #1

Updated by Ondřej Ezr almost 3 years ago

  • 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
  • Triaged changed from No to Yes

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

Actions #2

Updated by Adi Abramovitch over 2 years ago

  • Assignee set to Adi Abramovitch
Actions #3

Updated by The Foreman Bot over 2 years ago

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

Updated by Adi Abramovitch over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF