Fedora 23 needs to have python2 packages installed

This commit is contained in:
Toshio Kuratomi 2015-12-18 14:04:51 -08:00
parent 0823a2c16f
commit 68fe3d856f

View file

@ -33,6 +33,15 @@
- include: ec2.yml - include: ec2.yml
when: groups['dynamic_hosts'] is not defined when: groups['dynamic_hosts'] is not defined
# Have to hardcode these per-slave. We can't even run setup yet so we can't
# introspect what they have.
- hosts: dynamic_hosts
sudo: true
tasks:
- name: Install packages that let setup and package manager modules run
raw: dnf install -y python2 python2-dnf libselinux-python
when: "{{ inventory_hostname }} == 'fedora-23-x86_64'"
- hosts: dynamic_hosts - hosts: dynamic_hosts
sudo: true sudo: true
vars: vars: