Sha256: 94fb9a03191134cf89002e123d5ba3df7b18502c341b36fc76df05e0c957fd1e

Contents?: true

Size: 248 Bytes

Versions: 88

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

collection @ansible_roles

extends 'api/v2/ansible_roles/show'

node :inherited do |role|
  @inherited_ansible_roles.include?(role)
end

node :directly_assigned do |role|
  @directly_assigned_roles.include?(role)
end

Version data entries

88 entries across 44 versions & 1 rubygems

Version Path
foreman_ansible-14.0.0 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-14.0.0 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-13.0.4 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-13.0.4 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-13.0.3 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-13.0.3 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-13.0.2 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-13.0.2 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-13.0.1 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-13.0.1 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-13.0.0 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-13.0.0 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-12.0.7 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-12.0.7 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-10.4.4 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-10.4.4 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-12.0.6 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-12.0.6 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-12.0.5 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-12.0.5 app/views/api/v2/hosts/ansible_roles.json.rabl