title: How we can fetch code from Gitlab when create image using packer?
body: <p>I am creating image using packer. I have used 2 provisioners i.e <code>Shell</code> and <code>ansible-local</code> and both are working fine and installed all the required packages. </p>
  
  <p>But now i need to deploy my application code too into my image which is over Gitlab.
  I am out of idea how we can do this. Can you please help me how we can fetch the code from Gitlab to create image using packer?</p>
  
  <p>Any assistance will be appreciated.</p>
  
  <p>Thanks.</p>