New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #15979 - Add API for Ansible roles #26
Conversation
2227147
to
03b6cb9
Compare
class AnsibleRolesController < ::Api::V2::BaseController | ||
include ::Api::Version2 | ||
|
||
before_action :find_resource, :only => [:destroy] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
show
and import
missing
@xprazak2 Thanks, see comments inline. This should be easy to merge 😄 |
03b6cb9
to
874513d
Compare
874513d
to
f2db149
Compare
I use |
f2db149
to
fabd731
Compare
fabd731
to
c66db3f
Compare
@imported = @importer.import! | ||
end | ||
|
||
api :POST, '/asnible/ansible_roles/obsolete', N_('Obsolete Ansible roles') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, I'll fix it on merge.
Needs #25 to work.