Always retry alternatives.install state
This commit is contained in:
@@ -39,6 +39,9 @@ postgresql-{{ bin }}-altinstall:
|
|||||||
- onlyif: test -f {{ path }}
|
- onlyif: test -f {{ path }}
|
||||||
- require:
|
- require:
|
||||||
- pkg: postgresql-client-libs
|
- pkg: postgresql-client-libs
|
||||||
|
- retry:
|
||||||
|
attempts: 2
|
||||||
|
until: True
|
||||||
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
@@ -27,6 +27,9 @@ postgresql-{{ bin }}-altinstall:
|
|||||||
- onlyif: alternatives --display {{ bin }}
|
- onlyif: alternatives --display {{ bin }}
|
||||||
{% else %}
|
{% else %}
|
||||||
- onlyif: test -f {{ path }}
|
- onlyif: test -f {{ path }}
|
||||||
|
- retry:
|
||||||
|
attempts: 2
|
||||||
|
until: True
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|||||||
@@ -54,6 +54,9 @@ postgresql-{{ bin }}-altinstall:
|
|||||||
- pkg: postgresql-server
|
- pkg: postgresql-server
|
||||||
- require_in:
|
- require_in:
|
||||||
- cmd: postgresql-cluster-prepared
|
- cmd: postgresql-cluster-prepared
|
||||||
|
- retry:
|
||||||
|
attempts: 2
|
||||||
|
until: True
|
||||||
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user