Some soldiers to be confined to base, others to work in shifts; military to check temperatures of visitors to 'critical facilities'