Neutron diffraction study of the magnetic order in the ternary superconductor GdMo6S8