Verified Commit 56f1ffb7 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

roles/archweb: Changes to the way archweb version is used

The archweb_version was on apollo's host_vars. This was removed in
favour of it being on the defaults for the role. Also, a new var
was introduced to configure the repository used for archweb.
parent 13ad123a
......@@ -16,5 +16,4 @@ postgres_backup_dir: "/var/lib/postgres/backup"
mysql_backup_dir: "/root/backup-mysql"
mysql_backup_defaults: "/root/.backup-my.cnf"
archweb_version: a4cc538c3bb9a23e6b77ccc03a279185863efd3c
kanboard_version: "v1.2.0"
......@@ -6,6 +6,8 @@ archweb_domains_redirects:
'master-key.archlinux.org': '/master-keys'
'dev.archlinux.org': '/'
'packages.archlinux.org': '/packages$1'
archweb_repository: 'https://git.archlinux.org/archweb.git'
archweb_version: 5538aa8799788e19a1691bd3c2e889bb088e654b
archweb_site: true
archweb_mirrorcheck: false
archweb_mirrorresolv: false
......@@ -32,4 +34,3 @@ 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
......@@ -27,7 +27,7 @@
- name: clone archweb repo
git: >
repo=https://git.archlinux.org/archweb.git
repo={{ archweb_repository }}
dest="{{ archweb_dir }}"
version={{ archweb_version }}
become: true
......
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