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 #1

Updated by Oleh Fedorenko almost 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
Actions #2

Updated by The Foreman Bot almost 5 years ago

  • Fixed in Releases hammer-cli-foreman-ansible 0.3.3 added
Actions #3

Updated by Oleh Fedorenko almost 5 years ago

  • Status changed from Assigned to Closed
Actions #4

Updated by Tomer Brisker about 4 years ago

  • Has duplicate Bug #28298: hammer host [create or update] --ansible-roles "role-name" assigns all available roles added
Actions #5

Updated by Oleh Fedorenko almost 4 years ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman-ansible/pull/5 added
Actions

Also available in: Atom PDF