From 1907030d896495a5e7782ba0b5eade275e120d2f Mon Sep 17 00:00:00 2001 From: Spencer Smith Date: Tue, 16 May 2017 10:07:38 -0400 Subject: [PATCH] issue raw yum command since we don't have facts in bootstrapping --- roles/bootstrap-os/tasks/bootstrap-centos.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/roles/bootstrap-os/tasks/bootstrap-centos.yml b/roles/bootstrap-os/tasks/bootstrap-centos.yml index dfc117b29..c9233dfb1 100644 --- a/roles/bootstrap-os/tasks/bootstrap-centos.yml +++ b/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