Commit 725cb2d0 authored by Bartłomiej Piotrowski's avatar Bartłomiej Piotrowski
Browse files

archweb: allow to specify ref to checkout

parent e2aa651d
......@@ -15,3 +15,5 @@ filesystem: btrfs
postgres_backup_dir: "/var/lib/postgres/backup"
mysql_backup_dir: "/root/backup-mysql"
mysql_backup_defaults: "/root/.backup-my.cnf"
archweb_version: a4cc538c3bb9a23e6b77ccc03a279185863efd3c
......@@ -32,3 +32,4 @@ archweb_db_dbscripts_table_objs: 'mirrors_mirror,mirrors_mirrorrsync'
archweb_db_backup_user: 'archweb_backup'
archweb_db_backup_table_objs: 'ALL_IN_SCHEMA'
archweb_db_backup_sequence_objs: 'ALL_IN_SCHEMA'
archweb_version: HEAD
......@@ -28,7 +28,10 @@
when: archweb_site
- name: clone archweb repo
git: repo= dest="{{ archweb_dir }}"
git: >
dest="{{ archweb_dir }}"
version={{ archweb_version }}
become: true
become_user: archweb
register: release
Supports Markdown
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