Project

General

Profile

Actions

Bug #24038

closed

Reversed group inheritance

Added by Laurent Nominé over 6 years ago. Updated over 6 years ago.

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

Description

Description of problem:
It looks like assigning a role to a host doesn't affect the host itself but the hostgroup it belongs to.

For example, say we have two hosts Host1 and Host2 inside a hostgroup Hostgroup1. In normal conditions, assigning a role to Hostgroup1 is the only way to affect both hosts in one operation. However, I figured out that a direct role assignment to Host2 writes the information to Hostgroup1 instead.

Version-Release number of selected component (if applicable):
2.2.0 and lower versions

Steps to Reproduce:
1. Create a hostgroup
2. Assign an Ansible role to it
3. Place a host inside this hostgroup
4. Assign another Ansible role to the host

Actual results:
Two roles are assigned to the hostgroup

Expected results:
One role assigned to the hostgroup and another role assigned to the host.

Actions

Also available in: Atom PDF