Manage app's symlinks to be able to run from $PATH

This commit is contained in:
Jeremy Gardais 2019-04-10 13:56:34 +02:00
parent 9b4b1b3efa
commit 4f8c94a131
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
3 changed files with 16 additions and 0 deletions

View File

@ -7,6 +7,7 @@
* Install libxslt1.1 as dependency for om.* apps.
* Manage systemd service that provide the web interface.
* Manage dataeng service to be able to use OpenManage apps.
* Manage apps's symlinks to be able to run from $PATH.
## v1.0.2

View File

@ -54,6 +54,7 @@ This role will:
* Install and enable web interface on https://<ip_address>:1311 if requested.
* Fix idrac7's executable permissions.
* Fix libssl error RAC1170.
* Set up symlinks to be able to run apps from $PATH.
## Development

View File

@ -94,3 +94,17 @@
dest: "/opt/dell/srvadmin/lib64/libssl.so"
state: link
when: (openmanage__deploy_state == "present")
## Manage symlinks for OpenManage/racadm apps
- name: Ensure some Executables are in PATH
file:
src: "/opt/dell/srvadmin/sbin/{{ item }}"
path: "/bin/{{ item }}"
state: '{{ "link" if (openmanage__deploy_state == "present")
else "absent" }}'
with_items:
- 'omconfig'
- 'omexec'
- 'omreport'
- 'omupdate'
- 'racadm'