Eliminated the need for two OS specific tasks when it can be done with one.

This commit is contained in:
Phillip Thurston 2017-08-03 20:56:02 -06:00
parent a4bc441310
commit 98ae233269

View File

@ -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 }}