#NEWLINE# def ansible_pb_files( ansible_pb_dir ) : #NEWLINE# #INDENT# 'Retrieve ansible files for installation. Derived from elasticluster setup.\n    ' #NEWLINE# ansible_data = [ ] #NEWLINE# for ( dirname , dirnames , filenames ) in os . walk ( ansible_pb_dir ) : #NEWLINE# #INDENT# tmp = [ ] #NEWLINE# for fname in filenames : #NEWLINE# #INDENT# if fname . startswith ( '.git' ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# tmp . append ( os . path . join ( dirname , fname ) ) #NEWLINE# #UNINDENT# ansible_data . append ( ( os . path . join ( 'share' , 'bcbio-vm' , dirname ) , tmp ) ) #NEWLINE# #UNINDENT# return ansible_data