1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
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
sudo: true
vars: