init
This commit is contained in:
16
ansible/playbooks/ntp/chrony/00_setup_edge_ntp_node.yml
Normal file
16
ansible/playbooks/ntp/chrony/00_setup_edge_ntp_node.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: setup edge ntp node
|
||||
hosts:
|
||||
- dev-kyiv01-psy-proxmox-main-01
|
||||
become: true
|
||||
roles:
|
||||
- role: ntp/chrony
|
||||
vars:
|
||||
chrony_upstream_sources:
|
||||
- ntp.time.in.ua
|
||||
- time.google.com
|
||||
- time.cloudflare.com
|
||||
chrony_allow_networks:
|
||||
- 192.168.0.0/24
|
||||
|
||||
# ansible-playbook playbooks/ntp/chrony/setup_edge_ntp_node.yml -i inventory.ini
|
||||
14
ansible/playbooks/ntp/chrony/01_setup_core_ntp_node.yml
Normal file
14
ansible/playbooks/ntp/chrony/01_setup_core_ntp_node.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: setup core ntp node
|
||||
hosts:
|
||||
- dev-kyiv01-vm-ntp-main-01
|
||||
become: true
|
||||
roles:
|
||||
- role: ntp/chrony
|
||||
vars:
|
||||
chrony_upstream_sources:
|
||||
- ntp-edge.infra.hran
|
||||
chrony_allow_networks:
|
||||
- 192.168.0.0/24
|
||||
|
||||
# ansible-playbook playbooks/ntp/chrony/setup_core_ntp_node.yml -i inventory.ini
|
||||
19
ansible/playbooks/ntp/chrony/02_setup_client_ntp_node.yml
Normal file
19
ansible/playbooks/ntp/chrony/02_setup_client_ntp_node.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: setup core ntp node
|
||||
hosts:
|
||||
- dev-kyiv01-vm-dns-main-01
|
||||
- dev-kyiv01-vm-ceph-main-01
|
||||
- dev-kyiv01-vm-ceph-main-02
|
||||
- dev-kyiv01-vm-ceph-main-03
|
||||
- dev-kyiv01-vm-k8s-master-01
|
||||
- dev-kyiv01-vm-k8s-worker-01
|
||||
become: true
|
||||
roles:
|
||||
- role: ntp/chrony
|
||||
vars:
|
||||
chrony_upstream_sources:
|
||||
- ntp-core.infra.hran
|
||||
chrony_allow_networks:
|
||||
- 192.168.0.0/24
|
||||
|
||||
# ansible-playbook playbooks/ntp/chrony/setup_client_ntp_node.yml -i inventory.ini
|
||||
Reference in New Issue
Block a user