bank: RevBank 10.2
This commit is contained in:
parent
2f9ca22e90
commit
b9be1729b3
3 changed files with 8 additions and 15 deletions
|
@ -1,18 +1,10 @@
|
|||
---
|
||||
- name: Install revbank login shell
|
||||
ansible.builtin.template:
|
||||
src: login.sh
|
||||
dest: /usr/local/bin/revbank-login
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0755"
|
||||
|
||||
- name: Add user
|
||||
ansible.builtin.user:
|
||||
name: bank
|
||||
password: $6$idklol$QrOE/21LDR0vhZBAXwgA7AvnmR6Ju4ZqzAzgeazC08i2yw9kyQjgwu.uuV692iL/cyE7AteDYUxCpcorONXom. # "bank"
|
||||
home: /home/{{ bank_user }}
|
||||
shell: /usr/local/bin/revbank-login
|
||||
shell: /usr/local/share/revbank/revbank
|
||||
update_password: always
|
||||
|
||||
- name: Allow password auth for bank user
|
||||
|
|
|
@ -11,6 +11,13 @@
|
|||
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
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
export REVBANK_DIR=/usr/local/share/revbank
|
||||
export REVBANK_PLUGINS="$(cat $REVBANK_DIR/data/plugins | sed 's/ *#.*$//g' | sed '/^$/d' | tr '\n' ' ')"
|
||||
|
||||
$REVBANK_DIR/revbank
|
Loading…
Add table
Add a link
Reference in a new issue