add debian version variable for repo setup
This commit is contained in:
@@ -15,6 +15,7 @@ Role Variables
|
|||||||
with their default value, if any
|
with their default value, if any
|
||||||
|
|
||||||
koha_version: 21.05.05
|
koha_version: 21.05.05
|
||||||
|
koha_debian_version: 21.05
|
||||||
koha_home_dir: /home/koha
|
koha_home_dir: /home/koha
|
||||||
koha_install_dir: "{{ koha_home_dir }}/koha"
|
koha_install_dir: "{{ koha_home_dir }}/koha"
|
||||||
koha_src_dir: "{{ koha_home_dir }}/Koha-{{ koha_version }}"
|
koha_src_dir: "{{ koha_home_dir }}/Koha-{{ koha_version }}"
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# defaults file for tco.koha
|
# defaults file for tco.koha
|
||||||
|
|
||||||
koha_version: 21.05.07
|
koha_version: 21.05.07
|
||||||
|
koha_debian_version: 21.05
|
||||||
koha_home_dir: /home/koha
|
koha_home_dir: /home/koha
|
||||||
koha_install_dir: "{{ koha_home_dir }}/koha"
|
koha_install_dir: "{{ koha_home_dir }}/koha"
|
||||||
koha_src_dir: "{{ koha_home_dir }}/Koha-v{{ koha_version }}"
|
koha_src_dir: "{{ koha_home_dir }}/Koha-v{{ koha_version }}"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
state: present
|
state: present
|
||||||
- apt_repository:
|
- apt_repository:
|
||||||
filename: koha
|
filename: koha
|
||||||
repo: "deb http://debian.koha-community.org/koha stable main"
|
repo: "deb http://debian.koha-community.org/koha {{ koha_debian_version }} main"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: create koha group
|
- name: create koha group
|
||||||
|
|||||||
Reference in New Issue
Block a user