put virtualenv activation during build in comment. That means that for the moment the build machine must be provisionned beforehand, or ansible must be available globally
# This is a simple smoke test
# of the file_line resource type.
file { '/tmp/dansfile':
ensure => file,
} ->
file_line { 'dans_line':
line => 'dan is awesome',
path => '/tmp/dansfile',
}