Fix E405 Remote package tasks should have a retry

This commit is contained in:
Jeremy Gardais 2019-02-26 13:38:28 +01:00
parent 5cd83976e1
commit 1b8da8e62c
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 9 additions and 0 deletions

View File

@ -1,4 +1,9 @@
## v1.3.1
### Enhancements
* Fix E405 Remote package tasks should have a retry.
## v1.3.0 ## v1.3.0
### Minor changes ### Minor changes

View File

@ -15,6 +15,8 @@
state: "{{ sssd_pkg_state }}" state: "{{ sssd_pkg_state }}"
with_flattened: with_flattened:
- '{{ sssd_pkg_list | to_nice_json }}' - '{{ sssd_pkg_list | to_nice_json }}'
register: sssd_pkg_result
until: sssd_pkg_result is success
- name: Remove unwanted packages - name: Remove unwanted packages
package: package:
@ -22,6 +24,8 @@
state: "{{ sssd__unwanted_packages_state }}" state: "{{ sssd__unwanted_packages_state }}"
with_flattened: with_flattened:
- '{{ sssd__unwanted_packages_list | to_nice_json }}' - '{{ sssd__unwanted_packages_list | to_nice_json }}'
register: sssd_remove_result
until: sssd_remove_result is success
# ]]] # ]]]
# Update nsswitch.conf # Update nsswitch.conf