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-11.1.1 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-11.1.1 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-10.4.1 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-10.4.1 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-11.1.0 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-11.1.0 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-10.4.0 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-10.4.0 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-10.3.0 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-10.3.0 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-11.0.0 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-11.0.0 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-10.2.0 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-10.2.0 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-10.1.0 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-10.1.0 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-10.0.1 app/views/api/v2/hosts/ansible_roles.json.rabl
foreman_ansible-10.0.1 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-10.0.0 app/views/api/v2/hostgroups/ansible_roles.json.rabl
foreman_ansible-10.0.0 app/views/api/v2/hosts/ansible_roles.json.rabl