Skip to content
Snippets Groups Projects
Verified Commit c8177213 authored by Frederik Schwan's avatar Frederik Schwan Committed by Sven-Hendrik Haase
Browse files

fix E401 'Git checkouts must contain explicit version '

parent b1651b60
No related branches found
No related tags found
No related merge requests found
......@@ -47,3 +47,4 @@ archweb_db_backup_sequence_objs: 'ALL_IN_SCHEMA'
archweb_retro_repository: 'https://git.archlinux.org/archweb-retro.git'
archweb_retro_dir: '/srv/http/archweb-retro'
archweb_commit_hash: '7eee8e20d3970c7c21ecef7ae8c9032e4b4a6d79'
......@@ -308,9 +308,10 @@
when: archweb_site|bool
- name: clone archweb-retro repo
git: >
repo={{ archweb_retro_repository }}
dest="{{ archweb_retro_dir }}"
git:
repo: "{{ archweb_retro_repository }}"
dest: "{{ archweb_retro_dir }}"
version: "{{ archweb_commit_hash }}"
become: true
become_user: archweb
when: archweb_site|bool
---
flyspray_dir: '/srv/http/flyspray'
flyspray_commit: '4ea07db52a60a01f22763bb89626a629f1c311ed'
flyspray_domain: 'bugs.archlinux.org'
flyspray_nginx_conf: '/etc/nginx/nginx.d/flyspray.conf'
flyspray_user: 'flyspray'
......
......@@ -34,7 +34,10 @@
when: not user_created.changed
- name: clone flyspray repo
git: repo=https://git.archlinux.org/vhosts/bugs.archlinux.org.git dest="{{ flyspray_dir }}"
git:
repo: https://git.archlinux.org/vhosts/bugs.archlinux.org.git
version: "{{ flyspray_commit }}"
dest: "{{ flyspray_dir }}"
become: true
become_user: "{{ flyspray_user }}"
register: release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment