Browse Source

Merge pull request #1298 from rsmitty/centos-bootstrap

issue raw yum command since we don't have facts in bootstrapping
pull/1300/head
Spencer Smith 7 years ago
committed by GitHub
parent
commit
f02d810af8
1 changed files with 1 additions and 10 deletions
  1. 11
      roles/bootstrap-os/tasks/bootstrap-centos.yml

11
roles/bootstrap-os/tasks/bootstrap-centos.yml

@ -15,13 +15,4 @@
when: fastestmirror.stat.exists
- name: Install packages requirements for bootstrap
action:
module: "{{ ansible_pkg_mgr }}"
name: "{{ item }}"
state: latest
register: bs_pkgs_task_result
until: bs_pkgs_task_result|succeeded
retries: 4
delay: "{{ retry_stagger | random + 3 }}"
with_items: "libselinux-python"
raw: yum -y install libselinux-python
Loading…
Cancel
Save