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.
Updated by Oleh Fedorenko over 2 years ago
- Status changed from New to Assigned
- Assignee set to Oleh Fedorenko
Updated by Oleh Fedorenko about 2 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman-ansible/pull/10 added
Updated by The Foreman Bot about 2 years ago
- Pull request https://github.com/theforeman/foreman_ansible/pull/525 added
Updated by The Foreman Bot about 2 years ago
- Pull request https://github.com/theforeman/foreman_ansible/pull/528 added
Updated by The Foreman Bot almost 2 years ago
- Fixed in Releases hammer-cli-foreman-ansible 0.3.3 added
Updated by Oleh Fedorenko almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman-ansible|99f46236ab264b279f0ca55e5719f1ed8db4c528.
Updated by Oleh Fedorenko almost 2 years ago
- Fixed in Releases deleted (
hammer-cli-foreman-ansible 0.3.3)
Actions