Roberto Mancini will take charge of Italy for the second time after a deal with Andrea Pirlo collapsed.