Sha256: 56914f4e6d335f36b6077fc78de6d3387b17e7e67c7b65cabc162aa858661555

Contents?: true

Size: 609 Bytes

Versions: 58

Compression:

Stored size: 609 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/ansible_override_values/index',
      :object => ansible_variable.lookup_values
    )
  }
end

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

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
foreman_ansible-12.0.5 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-10.4.3 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-12.0.4 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-10.4.2 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-12.0.3 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-12.0.2 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-12.0.1 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-12.0.0 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-11.2.1 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-7.1.7 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-11.2.0 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-11.1.2 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-7.1.6 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-11.1.1 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-10.4.1 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-7.1.5 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-11.1.0 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-10.4.0 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-10.3.0 app/views/api/v2/ansible_variables/show.json.rabl
foreman_ansible-11.0.0 app/views/api/v2/ansible_variables/show.json.rabl