Adds variable to toggle using sudo on local_actions. Changed fileglob to ls a directory's contents into a variable and then use with_items. This was because that task was always getting skipped which I think was caused by the fact with_fileglob looks at the machine running ansible, not the machine under control.