1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/roles/test_docker/tasks/docker-setup-rht.yml
2015-03-18 12:16:18 -07:00

18 lines
360 B
YAML

- name: Install docker packages (yum)
yum:
state: present
name: docker-io,docker-registry,python-docker-py,nginx
- 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'