(a) Limitation.—Except as provided in subsection (b), funds appropriated to the Department of Defense may not be used to equip, operate, or maintain a golf course at a facility or installation of the Department of Defense.

(b) Exceptions.—(1) Subsection (a) does not apply to a golf course at a facility or installation outside the United States or at a facility or installation inside the United States at a location designated by the Secretary of Defense as a remote and isolated location.

(2) The Secretary of Defense shall prescribe regulations governing the use of appropriated funds under this subsection.