Merge branch 'roumano-#4' into master

This commit is contained in:
Jeremy Gardais 2020-09-22 09:40:18 +02:00
commit 462d94a3f7
1 changed files with 7 additions and 1 deletions

View File

@ -82,13 +82,19 @@
notify: ['restart webgui service']
## Remove all OpenManage packages if requested
- name: Gather the Package facts
package_facts:
manager: auto
- name: Ensure to remove OpenManage related packages if requested
package:
name: 'srvadmin*'
state: "absent"
register: pkg_remove_result
until: pkg_remove_result is success
when: (openmanage__deploy_state == "absent")
when:
- (openmanage__deploy_state == "absent")
- "'srvadmin' in ansible_facts.packages"
# Executable [[[1
## Fix some permissions