diff options
author | Lasse Haugen <haugen.lasse@gmail.com> | 2019-01-19 19:23:16 +0100 |
---|---|---|
committer | Lasse Haugen <haugen.lasse@gmail.com> | 2019-01-19 19:23:16 +0100 |
commit | bb1cc93d51efcd24d77b51187638e9616c061ed6 (patch) | |
tree | d1a22a24322d2a26dcddb79347fab4061be49eac /ansible | |
parent | ffd8a012c81534fe39eae2a8033679d15ca92abc (diff) |
Moved git install before git pull
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/common/tasks/main.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml index e573383..4c27c32 100644 --- a/ansible/roles/common/tasks/main.yml +++ b/ansible/roles/common/tasks/main.yml @@ -1,10 +1,3 @@ -- name: Gondul-repo - become: true - tags: - - git-all - - git-gondul - git: repo={{ git_repo }} dest=/opt/gondul update=no accept_hostkey=yes version={{ git_branch }} - - name: Install basic packages apt: name: [ @@ -13,3 +6,10 @@ 'git', 'iptables-persistent'] state: present + +- name: Gondul-repo + become: true + tags: + - git-all + - git-gondul + git: repo={{ git_repo }} dest=/opt/gondul update=no accept_hostkey=yes version={{ git_branch }} |