Fix debian 9 check for apt cache update (#8215)
This commit is contained in:
@ -56,10 +56,7 @@
|
|||||||
become: true
|
become: true
|
||||||
when:
|
when:
|
||||||
- '''ID=debian'' in os_release.stdout_lines'
|
- '''ID=debian'' in os_release.stdout_lines'
|
||||||
- (
|
- '''VERSION_ID="10"'' in os_release.stdout_lines or ''VERSION_ID="11"'' in os_release.stdout_lines'
|
||||||
'''VERSION="10'' in os_release.stdout_lines' or
|
|
||||||
'''VERSION="11'' in os_release.stdout_lines'
|
|
||||||
)
|
|
||||||
register: bootstrap_update_apt_result
|
register: bootstrap_update_apt_result
|
||||||
changed_when:
|
changed_when:
|
||||||
- '"changed its" in bootstrap_update_apt_result.stdout'
|
- '"changed its" in bootstrap_update_apt_result.stdout'
|
||||||
|
Reference in New Issue
Block a user