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 - name: pull-pre
command: "git pull origin {{ branch }}" command: "git pull origin {{ branch }}"
...@@ -16,6 +13,9 @@ ...@@ -16,6 +13,9 @@
chdir: "{{ projects[project].dir }}" chdir: "{{ projects[project].dir }}"
when: type == "pre" 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 - name: update-to-special-commit
command: "git checkout {{ commit }}" command: "git checkout {{ commit }}"
args: 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