add var for format.
Merge pull request #5360 from succhiello/feature/fix_galaxy_init_path_exists_msg

add var for format.
allow per-host sudo operation