Commit 2afa8230 by 刘旋尧

test

parent 37bdb016
---
- name: first-pull-code
git: repo={{ projects[project].repo }} dest={{ projects[project].dir }} accept_hostkey=yes clone=yes update=yes force=yes
- name: pull-pre
command: "git pull origin {{ branch }}"
......@@ -16,6 +13,9 @@
chdir: "{{ projects[project].dir }}"
when: type == "pre"
- name: first-pull-code
git: repo={{ projects[project].repo }} dest={{ projects[project].dir }} accept_hostkey=yes clone=yes update=yes force=yes
- name: update-to-special-commit
command: "git checkout {{ commit }}"
args:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment