[root@jack7-1 ansible]# cat test7.yml
hosts: PA
remote_user: root
tasks:
handlers:
[root@jack7-1 ansible]# less test6.ym
hosts: PA
remote_user: root
tasks:
name: cron
cron:
name: echo hello
user: root
minute: ‘20‘
hour: ‘10‘
job: echo hello jack
notify: h1
meta: flush_handlers
handlers:
原文:https://blog.51cto.com/13434656/2528026