module Proxy::Reports

Constants

VERSION

Public Instance Methods

search_for_facts2222222222222222(result) click to toggle source
# File lib/smart_proxy_reports/ansible_processor.rb, line 213
def search_for_facts2222222222222222(result)
  if result.respond_to?(:key?) && result.key?(:ansible_facts)
    result[:ansible_facts]
  elsif result.respond_to?(:each)
    r = nil
    result.find { |*a| r = search_for_facts(a.last) }
    r
  end
end