Retries package installation

This commit is contained in:
Jeremy Gardais 2019-02-27 14:17:58 +01:00
parent 18fc99a2de
commit e36200e6d9
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 11 additions and 0 deletions

View File

@ -84,4 +84,11 @@ openmanage__base_packages:
- 'srvadmin-server-snmp'
- 'srvadmin-storageservices'
# ]]]
# .. envvar:: openmanage__idrac8_packages [[[
#
# List of idrac8 packages to install.
#
openmanage__idrac8_packages:
- 'srvadmin-idracadm8'
# ]]]
# ]]]

View File

@ -43,6 +43,8 @@
install_recommends: '{{ openmanage__install_recommends | bool }}'
with_flattened:
- '{{ openmanage__dep_packages | to_nice_json }}'
register: pkg_dep_result
until: pkg_dep_result is success
when: (openmanage__deploy_state == "present")
## Manage base system packages
@ -53,6 +55,8 @@
install_recommends: '{{ openmanage__install_recommends | bool }}'
with_flattened:
- '{{ openmanage__base_packages | to_nice_json }}'
register: pkg_base_result
until: pkg_base_result is success
# Executable [[[1
## Fix some permissions