learned my lesson today
I have installed new wiring for a new ceiling fan from an existing non grounded circuit (No EGC in the existing circuit) Inspection failed because I had extended the circuit without installing an EGC or GFCI protection. However, I had the circuit AFCI protected as required.
So the AHJ said " If installing a new luminaire on a non grounded circuit then that part of circuit must be GFCI protected or an EGC be installed."
Now, is a ceiling fan considered a luminaire?
Success happens when your actions are bigger than your excuses.