14 lines
301 B
YAML
14 lines
301 B
YAML
|
#!/usr/bin/env ansible-playbook
|
||
|
---
|
||
|
- hosts: ntp_server
|
||
|
vars:
|
||
|
ntp_server: '{{ glob_ntp_server | combine(loc_ntp_server | default({})) }}'
|
||
|
roles:
|
||
|
- ntp-server
|
||
|
|
||
|
- hosts: debian
|
||
|
vars:
|
||
|
ntp_client: '{{ glob_ntp_client | combine(loc_ntp_client | default({})) }}'
|
||
|
roles:
|
||
|
- ntp-client
|