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
32d47c83
Commit
32d47c83
authored
6 years ago
by
gdoucet
Committed by
Kubernetes Prow Robot
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adding is_atomic in centos bootstrap-os (#3873)
Adding fact is_atomic in bootstrap-centos.yml. Fix issue: #3538
parent
90a7941d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/bootstrap-os/tasks/bootstrap-centos.yml
+11
-0
11 additions, 0 deletions
roles/bootstrap-os/tasks/bootstrap-centos.yml
with
11 additions
and
0 deletions
roles/bootstrap-os/tasks/bootstrap-centos.yml
+
11
−
0
View file @
32d47c83
---
-
name
:
check if atomic host
stat
:
path
:
/run/ostree-booted
register
:
ostree
-
set_fact
:
is_atomic
:
"
{{
ostree.stat.exists
}}"
-
name
:
Check presence of fastestmirror.conf
stat
:
...
...
@@ -30,8 +37,12 @@
packages
:
-
libselinux-python
-
epel-release
when
:
-
not is_atomic
-
name
:
Install pip for bootstrap
yum
:
name
:
python-pip
state
:
present
when
:
-
not is_atomic
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