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