Project

General

Profile

Actions

Bug #30226

closed

hammer hostgroup update does not respect ansible-roles argument

Added by Oleh Fedorenko almost 5 years ago. Updated almost 4 years ago.

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

Description

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

Description of problem:

updating ansible roles in hostgroup with hammer does not respect argument

hammer hostgroup update --id 17 --ansible-roles anystring

results in adding all available roles into hostgroup

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

6.7.1

How reproducible:

100%

Steps to Reproduce:
1.create hostgroup
2.import some ansible roles to satellite
3.#hammer hostgroup update --id 17 --ansible-roles rolename

Actual results:

all available roles added to hostroup

Expected results:

only roles with names matching argument string added to hostgroup

Additional info:


Related issues 1 (0 open1 closed)

Has duplicate Ansible - Bug #28298: hammer host [create or update] --ansible-roles "role-name" assigns all available roles ResolvedAdi AbramovitchActions
Actions

Also available in: Atom PDF