Add a Fedora latest host into the mix

This commit is contained in:
Toshio Kuratomi 2015-12-18 08:10:57 -08:00
parent 2f0e8d9654
commit 9689f00bb1
2 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -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