Fedora 23 needs to have python2 packages installed
This commit is contained in:
parent
0823a2c16f
commit
68fe3d856f
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue