Sha256: e43c067f2b552e5fb10363026acd378e02c3b0412d6565a707ac21a4d6816331

Contents?: true

Size: 515 Bytes

Versions: 32

Compression:

Stored size: 515 Bytes

Contents

# frozen_string_literal: true

module ForemanAnsible
  module Api
    module V2
      # Extends the job_templates api controller to support creating/updating with ansible callback plugin
      module JobTemplatesControllerExtensions
        extend Apipie::DSL::Concern

        update_api(:create, :update) do
          param :job_template, Hash do
            param :ansible_callback_enabled, :bool, :desc => N_('Enable the callback plugin for this template')
          end
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-15.0.1 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-15.0.0 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-14.2.2 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-14.2.1 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-13.0.7 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-14.2.0 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-14.1.1 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-14.1.0 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-13.0.5 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-14.0.0 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-13.0.4 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-13.0.3 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-13.0.2 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-13.0.1 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-13.0.0 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-12.0.7 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-10.4.4 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-12.0.6 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb
foreman_ansible-12.0.5 app/controllers/foreman_ansible/api/v2/job_templates_controller_extensions.rb