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