Run fixes only for state = present

This commit is contained in:
Jeremy Gardais 2018-12-03 15:46:48 +01:00
parent 206af22f50
commit faf3bfb2d2
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@
file:
path: /opt/dell/srvadmin/sbin/racadm-wrapper-idrac7
mode: 0755
when: (openmanage__deploy_state == "present")
## Fix RAC1170 error
- name: Fix libssl error RAC1170
@ -67,3 +68,4 @@
src: "/usr/lib/x86_64-linux-gnu/libssl.so.1.0.2"
dest: "/opt/dell/srvadmin/lib64/libssl.so"
state: link
when: (openmanage__deploy_state == "present")