- hosts: node tasks: #- name: send messages #script: scripts/ding_hook.sh - name: send messages shell: > curl 'https://oapi.dingtalk.com/robot/send?access_token=6d002d3492a42b66134c8d46cfbf49783d6d9d373895c59282ae98573f5fd49c' -H 'Content-Type: application/json' -d '{"msgtype":"text","text":{"content":"告警-hee"}}'