24 lines
667 B
YAML
24 lines
667 B
YAML
---
|
|
- name: Install dependencies
|
|
ansible.builtin.apt:
|
|
name: [ git, libterm-readline-gnu-perl, libcurses-ui-perl ]
|
|
state: present
|
|
|
|
- name: Clone revbank source
|
|
ansible.builtin.git:
|
|
repo: https://github.com/revspace/revbank.git
|
|
version: "v{{ bank_revbank_version }}"
|
|
dest: /usr/local/share/revbank
|
|
accept_hostkey: yes
|
|
|
|
- name: Clone revbank-plugin source
|
|
ansible.builtin.git:
|
|
repo: https://git.bitlair.nl/bitlair-bestuur/revbank-plugins.git
|
|
version: main
|
|
dest: /usr/local/share/revbank-plugins
|
|
accept_hostkey: yes
|
|
|
|
- name: Install git cronjob
|
|
ansible.builtin.template:
|
|
src: git.cron
|
|
dest: /etc/cron.d/revbank-git
|