Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
79166496
Unverified
Commit
79166496
authored
3 years ago
by
rtsp
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
debian: Fix test failed after bullseye release (#7888)
parent
c7d12cdd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/bootstrap-os/tasks/bootstrap-debian.yml
+15
-0
15 additions, 0 deletions
roles/bootstrap-os/tasks/bootstrap-debian.yml
with
15 additions
and
0 deletions
roles/bootstrap-os/tasks/bootstrap-debian.yml
+
15
−
0
View file @
79166496
...
...
@@ -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.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment