Browse Source

Install required selinux-python bindings in bootstrap

on centos.  The bootstrap tty fixup needs it.
pull/1250/head
Greg Althaus 7 years ago
parent
commit
041d4d666e
1 changed files with 12 additions and 0 deletions
  1. 12
      roles/bootstrap-os/tasks/bootstrap-centos.yml

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

@ -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"
Loading…
Cancel
Save