Skip to content
Snippets Groups Projects
Commit 32d47c83 authored by gdoucet's avatar gdoucet Committed by Kubernetes Prow Robot
Browse files

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
---
- 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment