2015-12-20 16:06:26 +00:00
|
|
|
- name: Install docker packages (rht family)
|
|
|
|
package:
|
2015-03-17 20:18:42 +00:00
|
|
|
state: present
|
2015-03-18 19:15:42 +00:00
|
|
|
name: docker-io,docker-registry,python-docker-py,nginx
|
2015-03-17 20:52:44 +00:00
|
|
|
|
2015-12-20 16:06:26 +00:00
|
|
|
- name: Install netcat (Fedora)
|
|
|
|
package:
|
2015-03-17 20:52:44 +00:00
|
|
|
state: present
|
|
|
|
name: nmap-ncat
|
2016-11-11 18:17:55 +00:00
|
|
|
when: ansible_distribution == 'Fedora' or (ansible_os_family == 'RedHat' and ansible_distribution_version|version_compare(7, '>='))
|
2015-03-17 20:52:44 +00:00
|
|
|
|
2015-12-20 16:06:26 +00:00
|
|
|
- name: Install netcat (RHEL)
|
|
|
|
package:
|
2015-03-17 20:52:44 +00:00
|
|
|
state: present
|
|
|
|
name: nc
|
2016-11-11 18:17:55 +00:00
|
|
|
when: ansible_distribution != 'Fedora' and (ansible_os_family == 'RedHat' and ansible_distribution_version|version_compare(7, '<'))
|