I am thinking about the simplest version of Hensel's lemma. Fix a prime $p$. Let $f(x)\in \mathbf{Z}[x]$ be a polynomial. Assume there exists $a_0\in \mathbf{F}_p$ such that $f(a_0)=0\mod p$, and $f'(a_0)\neq 0\mod p$. Then there exists a unique lift $a_n\in \mathbf{Z}/p^{n+1}\mathbf{Z}$ for every $n$. I know there is an elementary proof. However, I want to prove it by using standard deformation theory. It is simply a problem about extending the section $a_0$ order by order. Let $X$ be the scheme defined by $f(x)$ over $k=\mathbf{F}_p$. $I$ is the $k$-module $p\mathbf{Z}/p^2$. If I am correct, the obstruction class is in $Ext^1(a_0^*L_{X/k},I)$, and if it vanishes, the extension is classified by $Ext^0(a_0^*L_{X/k},I)$. Is there a proof of Hensel's lemma along this line?
I know this is like using a big machine to solve a simple problem. However, I really want to understand why $f'(a_0)\neq 0 \mod p$ implies that the obstruction class vanishes.