KP
Size: a a a
KP
KP
KP
KP
KL
KL
*
/etc/chrony.conf:
file:
- managed
- source: salt://ntp_sync/chrony.conf
chronyd:
service.running:
- enable: True
- reload: True
- watch:
- file: /etc/chrony.conf
salt-ssh '*' state.sls ntp_sync
albb_hk_c_01:
----------
ID: /etc/chrony.conf
Function: file.managed
Result: True
Comment: File /etc/chrony.conf updated
Started: 19:57:06.984079
Duration: 32.818 ms
Changes:
----------
diff:
blablabla
----------
ID: chronyd
Function: service.running
Result: True
Comment: Service chronyd is already enabled, and is running
Started: 19:57:07.031681
Duration: 144.856 ms
Changes:
----------
chronyd:
True
Summary for albb_hk_c_01
------------
Succeeded: 2 (changed=2)
Failed: 0
------------
Total states run: 2
Total run time: 177.674 ms
GG
GG
GG
GG
GG
GG