2014-06-07 18:05:13 +02:00
|
|
|
---
|
2015-01-05 16:04:36 +01:00
|
|
|
# Setup/install tasks.
|
2018-04-27 03:28:46 +02:00
|
|
|
- include_tasks: setup-RedHat.yml
|
2018-10-04 21:15:42 +02:00
|
|
|
when:
|
|
|
|
- ansible_install_method == 'package'
|
|
|
|
- ansible_os_family == 'RedHat'
|
|
|
|
- ansible_distribution != 'Fedora'
|
2016-09-18 02:13:09 +02:00
|
|
|
|
2018-04-27 03:28:46 +02:00
|
|
|
- include_tasks: setup-Fedora.yml
|
2018-10-04 21:15:42 +02:00
|
|
|
when:
|
|
|
|
- ansible_install_method == 'package'
|
|
|
|
- ansible_distribution == 'Fedora'
|
2014-06-07 18:05:13 +02:00
|
|
|
|
2018-04-27 03:28:46 +02:00
|
|
|
- include_tasks: setup-Ubuntu.yml
|
2018-10-04 21:15:42 +02:00
|
|
|
when:
|
|
|
|
- ansible_install_method == 'package'
|
|
|
|
- ansible_distribution == 'Ubuntu'
|
2016-08-31 02:19:02 +02:00
|
|
|
|
2018-04-27 03:28:46 +02:00
|
|
|
- include_tasks: setup-Debian.yml
|
2018-10-04 21:15:42 +02:00
|
|
|
when:
|
|
|
|
- ansible_install_method == 'package'
|
|
|
|
- ansible_distribution == 'Debian'
|
|
|
|
|
|
|
|
- include_tasks: setup-pip.yml
|
|
|
|
when:
|
|
|
|
- ansible_install_method == 'pip'
|