mirror of
https://github.com/mpolden/echoip.git
synced 2025-07-16 22:13:33 +02:00
Add Ansible provisioning of Vagrant env
This commit is contained in:
15
provisioning/roles/ntp/tasks/main.yml
Normal file
15
provisioning/roles/ntp/tasks/main.yml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: set timezone
|
||||
copy: src=timezone
|
||||
dest=/etc/timezone
|
||||
owner=root
|
||||
group=root
|
||||
mode=0644
|
||||
notify:
|
||||
- update timezone
|
||||
|
||||
- name: install ntp
|
||||
apt: pkg=ntp state=latest
|
||||
|
||||
- name: make sure ntp is running
|
||||
service: name=ntp state=running enabled=yes
|
Reference in New Issue
Block a user