get-code-git.yml 165 B

123456789
  1. ---
  2. # Get the latest code
  3. - name: Git checkout
  4. git:
  5. repo: '{{ git_repo }}'
  6. dest: '{{ remote_code_path }}'
  7. version: '{{ branch_name }}'
  8. force: yes