Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. - name: CLONE AND PULL
  2. hosts: local
  3. gather_facts: false
  4. ignore_errors: yes
  5. tasks:
  6.  
  7.  
  8. - name: clone and pull
  9. git:
  10. repo: "{{item.repo}}"
  11. dest: "{{item.dest}}"
  12. refspec: '+refs/pull/*:refs/heads/*'
  13. loop:
  14. - { repo: "repo1", dest: "dest1"}
  15. - { repo: "repo2", dest: "dest2"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement