back to singular
This commit is contained in:
23
roles/server/tasks/main.yml
Normal file
23
roles/server/tasks/main.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
# Load distro specific variables
|
||||
- include_vars: "{{ ansible_distribution }}.yml"
|
||||
tags: always
|
||||
ignore_errors: True
|
||||
- include_vars: "{{ ansible_fqdn }}.yml"
|
||||
ignore_errors: True
|
||||
|
||||
- block:
|
||||
- include_tasks: utilities/mta.yml
|
||||
- include_tasks: utilities/netdata.yml
|
||||
when: netdata is defined and netdata == true
|
||||
- include_tasks: utilities/snmpd.yml
|
||||
- include_tasks: utilities/glusterfs.yml
|
||||
when:
|
||||
- glusterfs is defined
|
||||
- glusterfs == true
|
||||
- include_tasks: system_setup/cron.yml
|
||||
# - include_role:
|
||||
# name: base
|
||||
# tasks_from: users.yml
|
||||
|
||||
# vim: ts=2 sw=2
|
||||
Reference in New Issue
Block a user