mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Basic iiab-update command; also upgrades IIAB Calibre-Web
This commit is contained in:
parent
fadee4caea
commit
e3d9a9a36e
3 changed files with 124 additions and 5 deletions
|
@ -34,15 +34,23 @@
|
|||
|
||||
# Copies the latest/known version of iiab-diagnostics into /usr/bin (so it can
|
||||
# be run even if local source tree /opt/iiab/iiab is deleted to conserve disk).
|
||||
- name: Copy iiab-summary & iiab-diagnostics from /opt/iiab/iiab/scripts/ to /usr/bin/
|
||||
- name: Copy iiab-update & iiab-summary & iiab-diagnostics from /opt/iiab/iiab/scripts/ to /usr/bin/
|
||||
copy:
|
||||
src: "{{ iiab_dir }}/scripts/{{ item }}"
|
||||
dest: /usr/bin/
|
||||
mode: '0755'
|
||||
with_items:
|
||||
- iiab-update
|
||||
- iiab-summary
|
||||
- iiab-diagnostics
|
||||
|
||||
- name: Symlink /usr/bin/iiab-upgrade -> /usr/bin/iiab-update
|
||||
file:
|
||||
src: /usr/bin/iiab-update
|
||||
path: /usr/bin/iiab-upgrade
|
||||
state: link
|
||||
force: yes
|
||||
|
||||
- name: Create globally-writable directory /etc/iiab/diag (0777) so non-root users can run 'iiab-diagnostics'
|
||||
file:
|
||||
state: directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue