Merge pull request #1250 from digitalrebar/master

bootstrap task on centos missing packages
This commit is contained in:
Spencer Smith 2017-05-02 12:24:11 -04:00 committed by GitHub
commit 647c1c721b

View file

@ -13,3 +13,15 @@
line: "enabled=0"
state: present
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"