Step 1: Given information.
The quadratic equation is:
\[
x^2 + 2x - p = 0
\]
and one root is given as $x = -2$.
Step 2: Substitute the value of the root in the equation.
Substitute $x = -2$:
\[
(-2)^2 + 2(-2) - p = 0
\]
\[
4 - 4 - p = 0
\]
Step 3: Simplify the equation.
\[
0 - p = 0
\]
\[
p = 0
\]
Step 4: Verification.
Wait — rechecking Step 2 carefully:
\[
(-2)^2 + 2(-2) - p = 0 \Rightarrow 4 - 4 - p = 0
\]
This simplifies to:
\[
-p = 0 \Rightarrow p = 0
\]
Hence, the value of \( p \) is indeed \( 0 \).
Final Answer
Final Answer:
\[
\boxed{p = 0}
\]