Install required selinux-python bindings in bootstrap

on centos.  The bootstrap tty fixup needs it.
This commit is contained in:
Greg Althaus 2017-04-20 11:17:01 -05:00
parent cb52d78845
commit e85b53a6cb

View file

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