Created
October 4, 2019 21:55
-
-
Save anibalardid/d21a187eb744af55ffe0371131b3ab9a to your computer and use it in GitHub Desktop.
ansible recipe git pull in directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks: | |
- name: pull from git | |
git: | |
repo: git@gitlab.com:repo.git | |
dest: /path/destiny | |
update: yes | |
version: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
more info :
https://docs.ansible.com/ansible/2.5/modules/git_module.html