mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Install latest iiab-diagnostics to /usr/bin if nec
This commit is contained in:
parent
362ca5184b
commit
21f0857fb7
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@
|
|||
include_tasks: first_run.yml
|
||||
when: first_run | bool
|
||||
|
||||
# Removed from first_run.yml so the very latest version is always installed
|
||||
# into /usr/bin (so iiab-diagnostics can be run even if source tree is deleted)
|
||||
- name: Copy /opt/iiab/iiab/scripts/iiab-diagnostics to /usr/bin/iiab-diagnostics
|
||||
copy:
|
||||
src: "{{ iiab_dir }}/scripts/iiab-diagnostics"
|
||||
dest: /usr/bin/
|
||||
mode: 0755
|
||||
|
||||
- name: Re-read local_facts.facts from /etc/ansible/facts.d
|
||||
setup:
|
||||
filter: ansible_local
|
||||
|
|
Loading…
Reference in a new issue