After https://projects.theforeman.org/issues/24362 is merged, we should have an API for common operations (CRUD, import/obsolete) with Ansible Variables.
Created from redmine issue https://projects.theforeman.org/issues/24487
Upstream bug assigned to dlobatog
*** This bug has been marked as a duplicate of bug 1634755 ***