Browse Source

issue raw yum command since we don't have facts in bootstrapping

pull/1298/head
Spencer Smith 7 years ago
parent
commit
1907030d89
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 when: fastestmirror.stat.exists
- name: Install packages requirements for bootstrap - 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