2020-04-10 19:38:37 +00:00
|
|
|
---
|
|
|
|
- name: update date
|
2020-05-25 22:41:41 +00:00
|
|
|
hosts: all
|
2020-04-10 19:38:37 +00:00
|
|
|
become_method: sudo
|
|
|
|
become_user: root
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- name: update datetime via ntpdate
|
|
|
|
shell:
|
|
|
|
cmd: |
|
|
|
|
ntpdate 192.168.50.3
|
|
|
|
args:
|
2020-05-25 22:41:41 +00:00
|
|
|
executable: /bin/bash
|