Compare commits

...

6 Commits

7 changed files with 47 additions and 0 deletions

9
playbooks/services.yml Normal file
View File

@ -0,0 +1,9 @@
- name: Configure Directory, Time, and Database Services
hosts: all
tasks:
- import_role:
name: ldap_samba
- import_role:
name: timeserver
- import_role:
name: database

View File

@ -0,0 +1,2 @@
variable1: false
variable2_checked: false

View File

@ -0,0 +1,6 @@
- name: restart service
systemd:
name: service
state: restarted
- name: update example_command configuration
command: /usr/sbin/example_command

View File

@ -0,0 +1,4 @@
- import_tasks: timeserver.yml
tags: timeserver

View File

@ -0,0 +1,2 @@

View File

@ -0,0 +1,17 @@
# vendor zone
{{ timeserver_vendor_zone }}
# Logging
log tracking statistics
# will serve as local NTP server
local stratum 10
# restrict clients from your subnets
allow {{ timeserver_restrict_clients_zone }}
# in case this server lost INTERNET connection
local stratum 10
# in case you wanna to broadcat time in your subnet
{{ timeserver_broadcat_subnet }}

View File

@ -0,0 +1,7 @@
domain {{ host_domain }}
search {{ host_domain }}
{% if resolvers is defined %}
{% for resolver in resolvers %}
nameserver {{resolver}}
{% endfor %}
{% endif %}