diff --git a/infrared_plugin/roles/tobiko-ir-deploy/tasks/main.yaml b/infrared_plugin/roles/tobiko-ir-deploy/tasks/main.yaml index 7629b4c20..d49f97ff4 100644 --- a/infrared_plugin/roles/tobiko-ir-deploy/tasks/main.yaml +++ b/infrared_plugin/roles/tobiko-ir-deploy/tasks/main.yaml @@ -16,6 +16,13 @@ state: directory register: create_dest_dir + - name: install git + ignore_errors: yes + become: true + package: + name: git + state: present + - name: "checkout files from '{{ deploy_git_repo }}[{{ deploy_git_refspec }}]' to '{{ deploy_dir }}'" git: dest: '{{ deploy_dir }}'