diff --git a/app/graphql/presenters/overriden_ansible_variable_presenter.rb b/app/graphql/presenters/overriden_ansible_variable_presenter.rb index ae4003a76..a8453c68d 100644 --- a/app/graphql/presenters/overriden_ansible_variable_presenter.rb +++ b/app/graphql/presenters/overriden_ansible_variable_presenter.rb @@ -2,10 +2,17 @@ module Presenters class OverridenAnsibleVariablePresenter attr_reader :ansible_variable - delegate :id, :key, :description, :override?, - :parameter_type, :hidden_value?, :omit, :required, + delegate :id, :key, :description, + :parameter_type, :omit, :required, :validator_type, :validator_rule, :default_value, :ansible_role, :current_value, :to => :ansible_variable + def hidden_value + ansible_variable.hidden_value? + end + + def override + ansible_variable.override? + end def initialize(ansible_variable, override_resolver) @ansible_variable = ansible_variable @@ -16,4 +23,4 @@ def current_value @override_resolver.resolve @ansible_variable end end -end +end \ No newline at end of file