mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Add a Fedora latest host into the mix
This commit is contained in:
@@ -22,7 +22,12 @@
|
||||
image: "ami-96a818fe"
|
||||
ssh_user: "centos"
|
||||
platform: "centos-7-x86_64"
|
||||
|
||||
- distribution: "Fedora"
|
||||
version: "23"
|
||||
image: "ami-518bfb3b"
|
||||
ssh_user: "fedora"
|
||||
platform: "fedora-23-x86_64"
|
||||
|
||||
tasks:
|
||||
- debug: var=ansible_version
|
||||
- include: ec2.yml
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
- name: Install RH epel
|
||||
yum: name="epel-release" state=installed
|
||||
sudo: true
|
||||
when: ansible_os_family == 'RedHat'
|
||||
when: ansible_distribution in ('CentOS', 'RedHat')
|
||||
|
||||
- name: Install RH ansible dependencies
|
||||
yum: name="{{ item }}" state=installed
|
||||
package: name="{{ item }}" state=installed
|
||||
sudo: true
|
||||
with_items:
|
||||
- python-pip
|
||||
|
||||
Reference in New Issue
Block a user