Australia took a slight lead against India in the second Test in Adelaide after the visitors were bowled out for 180 in the first innings.