lib/bolt/inventory/target.rb
# For remote targets, the transport is always 'remote'. Otherwise, it
# will be either the URI scheme or set explicitly.
For remote targets, the transport is always 'remote'. Otherwise, it
will be either the URI scheme or set explicitly.
For remote targets the transport is always ' remote ' . Otherwise it will be either the URI scheme or set explicitly .
def transport
        if @transport.nil?
          config_transport = @config['transport'] ||
                             group_cache.dig('config', 'transport') ||
                             @inventory.transport
          @transport = if @uri_obj.scheme == 'remote' || config_transport == 'remote'
                         'remote'
                       else
                         @uri_obj.scheme || config_transport
                       end
        end
        @transport
      end
def transport if @transport . nil? config_transport = @config [ 'transport' ] || group_cache . dig ( 'config' , 'transport' ) || @inventory . transport @transport = if @uri_obj . scheme == 'remote' || config_transport == 'remote' 'remote' else @uri_obj . scheme || config_transport end end @transport end
For remote targets, the transport is always 'remote'.
For remote targets the transport is always ' remote ' .