Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: CLONE AND PULL
- hosts: local
- gather_facts: false
- ignore_errors: yes
- tasks:
- - name: clone and pull
- git:
- repo: "{{item.repo}}"
- dest: "{{item.dest}}"
- refspec: '+refs/pull/*:refs/heads/*'
- loop:
- - { repo: "cat repo.txt", dest: "cat dest.txt"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement