Only use sudo/sudo_user if use_sudo is set to true.