Sha256: 99b41924cc4a418c7149e9fddc4241fa66740d7e3217ea953282e715b9a7ddef

Contents?: true

Size: 471 Bytes

Versions: 104

Compression:

Stored size: 471 Bytes

Contents

# frozen_string_literal: true

module ForemanAnsible
  module Api
    module V2
      # Extends the hosts api controller to support creating/updating with roles
      module HostsParamGroupExtensions
        extend Apipie::DSL::Concern

        update_api(:create, :update) do
          param :host, Hash do
            param :ansible_role_ids, Array,
                  :desc => N_('IDs of associated ansible roles')
          end
        end
      end
    end
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
foreman_ansible-6.3.2 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.3.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.4.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.4.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.3.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.2.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.1.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.0.2 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.1.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.0.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-5.1.3 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.0.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-5.1.2 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-5.1.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-5.1.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-4.0.3.5 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-4.0.3.4 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-4.0.3.3 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-4.0.3.2 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-5.0.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb