Remove all OpenManage related pkg if requested
This commit is contained in:
parent
8c02772272
commit
2531667af0
|
@ -3,6 +3,7 @@
|
|||
### Enhancements
|
||||
|
||||
* Install apt_key only if deploy_state = present.
|
||||
* Remove all OpenManage related packages if deploy_state = absent.
|
||||
|
||||
## v1.1.0
|
||||
|
||||
|
|
|
@ -82,6 +82,15 @@
|
|||
until: pkg_webgui_result is success
|
||||
notify: ['restart webgui service']
|
||||
|
||||
## Remove all OpenManage packages if requested
|
||||
- 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")
|
||||
|
||||
# Executable [[[1
|
||||
## Fix some permissions
|
||||
- name: Ensure Executables can be run
|
||||
|
|
Loading…
Reference in New Issue