Add a Fedora latest host into the mix

pull/13639/head
Toshio Kuratomi 9 years ago
parent a3dcb910b8
commit f2364ecf5f

@ -22,7 +22,12 @@
image: "ami-96a818fe" image: "ami-96a818fe"
ssh_user: "centos" ssh_user: "centos"
platform: "centos-7-x86_64" platform: "centos-7-x86_64"
- distribution: "Fedora"
version: "23"
image: "ami-518bfb3b"
ssh_user: "fedora"
platform: "fedora-23-x86_64"
tasks: tasks:
- debug: var=ansible_version - debug: var=ansible_version
- include: ec2.yml - include: ec2.yml

@ -16,10 +16,10 @@
- name: Install RH epel - name: Install RH epel
yum: name="epel-release" state=installed yum: name="epel-release" state=installed
sudo: true sudo: true
when: ansible_os_family == 'RedHat' when: ansible_distribution in ('CentOS', 'RedHat')
- name: Install RH ansible dependencies - name: Install RH ansible dependencies
yum: name="{{ item }}" state=installed package: name="{{ item }}" state=installed
sudo: true sudo: true
with_items: with_items:
- python-pip - python-pip

Loading…
Cancel
Save