<commit_before>- hosts: all
  become: yes

  vars_files:
    - shari_vari.yml
    
  tasks:
    #only want these in the case that it is a true guest under virtual_box
    #if using ansible to configure a real machine, don't do this:

    #without this module loaded, the machine will not boot. Will get this:
    #Error getting authority: Error initializing authority:
    #Could not connect: No such file or directory (g-io-error-quark, 1)
    - lineinfile: dest=/etc/modules line="vboxsf"

    #make sure mount points exist:
    - file: path=/c state=directory mode=0755
    - file: path=/media/charles/DATA state=directory mode=0755
      
    #next configure the shared drive to be part of fstab

    #http://askubuntu.com/questions/252853/how-to-mount-a-virtualbox-shared-folder-at-startup#252865
    #http://docs.ansible.com/ansible/mount_module.html
    #sudo mount -t vboxsf -o uid=1000,gid=1000 c /c
    #sudo mount -t vboxsf -o uid=1000,gid=1000 DATA /media/charles/DATA
    - mount: name=/c src='c' fstype=vboxsf opts="uid=1000,gid=1000,auto" state=mounted
    #to make other drives mount automatically when the machine boots
    #(forces them to be there)
    #sudo vi /etc/fstab
    #and follow pattern for /c
    #DATA /media/charles/DATA vboxsf uid=1000,gid=1000,auto 0 0

    #to mount samba:
    #sudo apt-get install cifs-utils
    #mkdir -p /c/data
    #sudo mount -t cifs //192.168.1.234/data /c/data
    
    #sudo mount -t vboxsf -o uid=1000,gid=1000 DATA /media/charles/DATA<commit_msg>adding message for mounting drives<commit_after>- hosts: all
  become: yes

  vars_files:
    - shari_vari.yml
    
  tasks:
    #only want these in the case that it is a true guest under virtual_box
    #if using ansible to configure a real machine, don't do this:

    #without this module loaded, the machine will not boot. Will get this:
    #Error getting authority: Error initializing authority:
    #Could not connect: No such file or directory (g-io-error-quark, 1)
    - lineinfile: dest=/etc/modules line="vboxsf"

    #make sure mount points exist:
    - file: path=/c state=directory mode=0755
    - file: path=/media/charles/DATA state=directory mode=0755
      
    #next configure the shared drive to be part of fstab

    #http://askubuntu.com/questions/252853/how-to-mount-a-virtualbox-shared-folder-at-startup#252865
    #http://docs.ansible.com/ansible/mount_module.html
    #sudo mount -t vboxsf -o uid=1000,gid=1000 c /c
    #sudo mount -t vboxsf -o uid=1000,gid=1000 DATA /media/charles/DATA
    - mount: name=/c src='c' fstype=vboxsf opts="uid=1000,gid=1000,auto" state=mounted
    #to make other drives mount automatically when the machine boots
    #(forces them to be there)
    #sudo vi /etc/fstab
    #and follow pattern for /c:
    #
    #    DATA /media/charles/DATA vboxsf uid=1000,gid=1000,auto 0 0
    #
    #then make sure destination directory exists:
    #
    #    mkdir -p /media/charles/DATA
    
    #to mount samba:
    #sudo apt-get install cifs-utils
    #mkdir -p /c/data
    #sudo mount -t cifs //192.168.1.234/data /c/data
    
    #sudo mount -t vboxsf -o uid=1000,gid=1000 DATA /media/charles/DATA
{'fraction_non_alphanumeric': 0.10367786937222574, 'fraction_numerical': 0.046290424857324035, 'mean_word_length': 2.958594730238394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2711640', 'n_tokens_mistral': 1197, 'n_tokens_neox': 1035, 'n_words': 340}