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-10.2.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-10.1.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-10.0.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-10.0.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.1.4 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-9.0.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.1.3 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-9.0.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.1.2 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.1.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-8.0.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-8.0.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.0.4 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.1.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.0.3 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.0.2 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.0.1 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-7.0.0 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.3.4 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb
foreman_ansible-6.3.3 app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb