As a DOD civilian, you are not eligible for a capital gains exclusion on the sale of your house unless you otherwise qualify. See IRS Publication 523, page 6, for exceptions to the 2 of 5 rule for members of the military, foreign service, and intelligence community.
https://www.irs.gov/pub/irs-pdf/p523.pdf