Sha256: f834b6f1cb280b5642b7f391bf80de6ef835c1bd75b3c21593e9ae84ff05ef11

Contents?: true

Size: 599 Bytes

Versions: 56

Compression:

Stored size: 599 Bytes

Contents

module Types
  class AnsibleVariable < BaseObject
    description 'Ansible Variable'

    global_id_field :id

    field :key, String
    field :path, resolver: Resolvers::AnsibleVariable::Path
    field :override, Boolean
    field :description, String
    field :hidden_value, Boolean
    field :parameter_type, String
    field :omit, Boolean
    field :required, Boolean
    field :validator_type, String
    field :validator_rule, String
    field :default_value, ::Types::RawJson
    field :ansible_role_name, String

    def ansible_role_name
      object.ansible_role.name
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 app/graphql/types/ansible_variable.rb
foreman_ansible-15.0.1 app/graphql/types/ansible_variable.rb
foreman_ansible-15.0.0 app/graphql/types/ansible_variable.rb
foreman_ansible-14.2.2 app/graphql/types/ansible_variable.rb
foreman_ansible-14.2.1 app/graphql/types/ansible_variable.rb
foreman_ansible-13.0.7 app/graphql/types/ansible_variable.rb
foreman_ansible-14.2.0 app/graphql/types/ansible_variable.rb
foreman_ansible-14.1.1 app/graphql/types/ansible_variable.rb
foreman_ansible-14.1.0 app/graphql/types/ansible_variable.rb
foreman_ansible-13.0.5 app/graphql/types/ansible_variable.rb
foreman_ansible-14.0.0 app/graphql/types/ansible_variable.rb
foreman_ansible-13.0.4 app/graphql/types/ansible_variable.rb
foreman_ansible-13.0.3 app/graphql/types/ansible_variable.rb
foreman_ansible-13.0.2 app/graphql/types/ansible_variable.rb
foreman_ansible-13.0.1 app/graphql/types/ansible_variable.rb
foreman_ansible-13.0.0 app/graphql/types/ansible_variable.rb
foreman_ansible-12.0.7 app/graphql/types/ansible_variable.rb
foreman_ansible-10.4.4 app/graphql/types/ansible_variable.rb
foreman_ansible-7.1.8 app/graphql/types/ansible_variable.rb
foreman_ansible-12.0.6 app/graphql/types/ansible_variable.rb