1
0
Fork 0
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:
A Holt 2019-10-12 15:16:50 -04:00 committed by GitHub
parent 362ca5184b
commit 21f0857fb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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