Controlling 12v fan with temp sensor. noob

there you go
reframing - should i connect the gnd of this adapter to my arduino ground pin or not? will it be safe?