Actions
Feature #34121
closedAdd functionality in Hammer and API to Add/Delete a single Ansible role to Hostgroup without defining every role.
Difficulty:
Triaged:
No
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2029402
1. Description of Request:
Currently, there's no option to just Add/Delete a single Ansible role to Hostgroup without defining every role.
For adding a role to a hostgroup which already has few roles assigned to it, we need to follow the below process:
For Example:
To add role3 to hostgroup test which already has role1 and role2 assigned to it, one needs to run:~~~
- hammer hostgroup ansible-roles assign --name test --ansible-roles role1,role2,role3
~~~
~~~
- hammer hostgroup ansible-roles assign --name test --ansible-roles role1,role2
~~~
2. Why does the customer need this? (List the business requirements here)
Customer has problem with this as defining always every role is highly impractical/not user friendly.
Actions