In the 2006 war, the IDF was poorly led, poorly trained and their operations were poorly planned. They showed very badly against Hizbollah. So bad was the IDF performance that, after the war, Israel sacked their minister of defense, chief of staff, and several other generals and appointed the Winograd Committee to find out what went wrong. Many people thought that Israel would use the opportunity to destroy Hizbollah and eliminate Nasrallah. The IDF fell far short of that level of expectations. An Iran attack would be much more difficult and much more risky. Israel is not known for betting the farm on one long shot roll of the dice. If Israel cannot sweet talk Obama into attacking Iran then there will be no attack on Iran.
French journalists probed on suspicion of blackmailing Moroccan king (Reuters)
from the article: Turkey FM: Israeli military strike on Iran would be a disaster