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:
parent
0823a2c16f
commit
68fe3d856f
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue