A soldier who ran from an ongoing drug deal has admitted being concerned in the supply of cocaine.