Browse Source

Fix debian 9 check for apt cache update (#8215)

pull/8209/head
Florian Ruynat 3 years ago
committed by GitHub
parent
commit
be9de6b9d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions
  1. 5
      roles/bootstrap-os/tasks/bootstrap-debian.yml

5
roles/bootstrap-os/tasks/bootstrap-debian.yml

@ -56,10 +56,7 @@
become: true
when:
- '''ID=debian'' in os_release.stdout_lines'
- (
'''VERSION="10'' in os_release.stdout_lines' or
'''VERSION="11'' in os_release.stdout_lines'
)
- '''VERSION_ID="10"'' in os_release.stdout_lines or ''VERSION_ID="11"'' in os_release.stdout_lines'
register: bootstrap_update_apt_result
changed_when:
- '"changed its" in bootstrap_update_apt_result.stdout'

Loading…
Cancel
Save