mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-07 03:03:08 +00:00
19 lines
360 B
YAML
19 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'
|
|
|