Attempt to enable docker tests for rhel/centos6 as well

This commit is contained in:
Toshio Kuratomi
2015-03-17 13:52:44 -07:00
parent f8ec1451ea
commit 85e137bbad
2 changed files with 20 additions and 3 deletions

View File

@@ -1,4 +1,18 @@
- name: Install docker packages (yum)
yum:
state: present
name: docker,docker-registry,python-docker-py,nmap-ncat
name: docker-io,docker-registry,python-docker-py
- name: Install netcat
yum:
state: present
name: nmap-ncat
# RHEL7 as well...
when: ansible_distribution == 'Fedora'
- name: Install netcat
yum:
state: present
name: nc
when: ansible_distribution != 'Fedora'