Sha256: 536013e8667976c7e88c69f7e83c512e37d410bd3f2b8412fcd05f9ccbffe8ac

Contents?: true

Size: 601 Bytes

Versions: 43

Compression:

Stored size: 601 Bytes

Contents

object @ansible_variable

attribute :parameter
attributes :id, :variable, :ansible_role, :ansible_role_id, :description, :override,
           :variable_type, :hidden_value?, :validator_type,
           :validator_rule, :merge_overrides, :merge_default,
           :avoid_duplicates, :override_value_order, :created_at, :updated_at,
           :default_value, :imported

node do |ansible_variable|
  {
    :override_values => partial(
      'api/v2/override_values/index',
      :object => ansible_variable.lookup_values
    )
  }
end

node :override_values_count do |lk|
  lk.lookup_values.count
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
foreman_ansible-4.0.3.2 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-5.0.1 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-4.0.5 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-4.0.3.1 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-4.0.4 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-5.0.0 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-4.0.3 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-4.0.2 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-4.0.0 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-3.0.9 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-3.0.8 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-3.0.7 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-3.0.6 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-3.0.5 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-3.0.4 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-3.0.3 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-2.3.6 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-2.3.5 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-2.3.4 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-3.0.2 app/views/api/v2/ansible_variables/show.json.rabl