mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-02-16 00:16:12 +01:00
Eliminated the need for two OS specific tasks when it can be done with one.
This commit is contained in:
parent
a4bc441310
commit
98ae233269
@ -1,9 +1,6 @@
|
||||
---
|
||||
- include: setup-RedHat.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- include: setup-Debian.yml
|
||||
when: ansible_os_family == 'Debian'
|
||||
- name: OS specific setup
|
||||
include: include: "setup-{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: Install Docker.
|
||||
package: name={{ docker_package }} state={{ docker_package_state }}
|
||||
|
Loading…
Reference in New Issue
Block a user