**Problem: While creating/updating ansible roles in host when hostgroup is attached to a host then the same changes reflecting on ansible hostgroup api ( GET /api/hostgroups/:id/ansible_roles ).
**Expected outcome: Hostgroup ansible role api ( GET /api/hostgroups/:id/ansible_roles ) shouldn’t be impacted if changes made on ansible role tab in host creation/updation when hostgroup is selected in host.
**Foreman and Proxy versions: 2.1 & 2.1.0-rc3
**Foreman and Proxy plugin versions: 2.1 & 2.1.0-rc3
**Distribution and version: CentOS v7.x86_64 & v2.1