mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add a Fedora latest host into the mix
This commit is contained in:
parent
a3dcb910b8
commit
f2364ecf5f
2 changed files with 8 additions and 3 deletions
|
@ -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…
Reference in a new issue