lib/bolt/inventory/inventory.rb
# Pull in a target definition from the inventory file and evaluate any
# associated references. This is used when a target is resolved by
# get_targets.
Pull in a target definition from the inventory file and evaluate any
associated references. This is used when a target is resolved by
get_targets.
Pull in a target definition from the inventory file and evaluate any associated references . This is used when a target is resolved by get_targets .
def create_target_from_inventory(target_name)
        target_data = groups.target_collect(target_name) || { 'uri' => target_name }
        target = Bolt::Inventory::Target.new(target_data, self)
        @targets[target.name] = target
        add_to_group([target], 'all')
        target
      end
def create_target_from_inventory ( target_name ) target_data = groups . target_collect ( target_name ) || { 'uri' => target_name } target = Bolt :: Inventory :: Target . new ( target_data , self ) @targets [ target . name ] = target add_to_group ( [ target ] , 'all' ) target end
Pull in a target definition from the inventory file and evaluate any
associated references.
Pull in a target definition from the inventory file and evaluate any associated references .
target_name
<not_specific>