Always retry alternatives.install state

This commit is contained in:
N
2019-04-15 00:26:32 +01:00
parent 58c36c57cc
commit 080bff7b3d
3 changed files with 9 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ postgresql-{{ bin }}-altinstall:
- onlyif: alternatives --display {{ bin }}
{% else %}
- onlyif: test -f {{ path }}
- retry:
attempts: 2
until: True
{% endif %}
{%- endfor %}