fix #4
This commit is contained in:
parent
3eaab13b98
commit
e9ed83961e
|
@ -82,13 +82,19 @@
|
||||||
notify: ['restart webgui service']
|
notify: ['restart webgui service']
|
||||||
|
|
||||||
## Remove all OpenManage packages if requested
|
## Remove all OpenManage packages if requested
|
||||||
|
- name: Gather the Package facts
|
||||||
|
package_facts:
|
||||||
|
manager: auto
|
||||||
|
|
||||||
- name: Ensure to remove OpenManage related packages if requested
|
- name: Ensure to remove OpenManage related packages if requested
|
||||||
package:
|
package:
|
||||||
name: 'srvadmin*'
|
name: 'srvadmin*'
|
||||||
state: "absent"
|
state: "absent"
|
||||||
register: pkg_remove_result
|
register: pkg_remove_result
|
||||||
until: pkg_remove_result is success
|
until: pkg_remove_result is success
|
||||||
when: (openmanage__deploy_state == "absent")
|
when:
|
||||||
|
- (openmanage__deploy_state == "absent")
|
||||||
|
- "'srvadmin' in ansible_facts.packages"
|
||||||
|
|
||||||
# Executable [[[1
|
# Executable [[[1
|
||||||
## Fix some permissions
|
## Fix some permissions
|
||||||
|
|
Loading…
Reference in New Issue