Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Kubespray
Commits
c91a05f3
Commit
c91a05f3
authored
3 years ago
by
rtsp
Committed by
Kubernetes Prow Robot
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
debian: Fix test failed after bullseye release (#7888)
(cherry picked from commit
79166496
)
parent
a583a2d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/bootstrap-os/tasks/bootstrap-debian.yml
+15
-0
roles/bootstrap-os/tasks/bootstrap-debian.yml
with
15 additions
and
0 deletions
+15
-0
roles/bootstrap-os/tasks/bootstrap-debian.yml
+
15
-
0
View file @
c91a05f3
...
...
@@ -51,6 +51,21 @@
when
:
-
need_bootstrap.rc !=
0
-
name
:
Update Apt cache
raw
:
apt-get update --allow-releaseinfo-change
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'
)
register
:
bootstrap_update_apt_result
changed_when
:
-
'
"changed
its"
in
bootstrap_update_apt_result.stdout'
-
'
"value
from"
in
bootstrap_update_apt_result.stdout'
ignore_errors
:
true
-
name
:
Set the ansible_python_interpreter fact
set_fact
:
ansible_python_interpreter
:
"
/usr/bin/python3"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help