Manage app's symlinks to be able to run from $PATH
This commit is contained in:
parent
9b4b1b3efa
commit
4f8c94a131
|
@ -7,6 +7,7 @@
|
||||||
* Install libxslt1.1 as dependency for om.* apps.
|
* Install libxslt1.1 as dependency for om.* apps.
|
||||||
* Manage systemd service that provide the web interface.
|
* Manage systemd service that provide the web interface.
|
||||||
* Manage dataeng service to be able to use OpenManage apps.
|
* Manage dataeng service to be able to use OpenManage apps.
|
||||||
|
* Manage apps's symlinks to be able to run from $PATH.
|
||||||
|
|
||||||
## v1.0.2
|
## v1.0.2
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,7 @@ This role will :
|
||||||
* Install and enable web interface on https://<ip_address>:1311 if requested.
|
* Install and enable web interface on https://<ip_address>:1311 if requested.
|
||||||
* Fix idrac7's executable permissions.
|
* Fix idrac7's executable permissions.
|
||||||
* Fix libssl error RAC1170.
|
* Fix libssl error RAC1170.
|
||||||
|
* Set up symlinks to be able to run apps from $PATH.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
|
|
|
@ -94,3 +94,17 @@
|
||||||
dest: "/opt/dell/srvadmin/lib64/libssl.so"
|
dest: "/opt/dell/srvadmin/lib64/libssl.so"
|
||||||
state: link
|
state: link
|
||||||
when: (openmanage__deploy_state == "present")
|
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'
|
||||||
|
|
Loading…
Reference in New Issue