playbook handlers
来源:互联网 发布:沃尔沃卡车刹车知乎 编辑:程序博客网 时间:2024/05/20 13:06
# vim handlers.yml
---
- name: handler_test
hosts: testhosts
user: root
tasks:
- name: copy file
copy: src=/etc/passwd dest=/tmp/aaa.txt 当对方机器上有对应的文件的时候是不会调用 handlers 的
notify: test handlers
handlers:
- name: test handlers
shell: echo "11111" >> /tmp/aaa.txt
0 0
- playbook handlers
- Handlers
- playbook
- Protocol Handlers
- playbook 循环
- playbook lookups
- playbook conditionals
- playbook介绍
- Ansible playbook
- ansible-playbook
- ansible playbook
- ansible playbook
- http handlers简介
- 12.1. Interrupt Handlers
- event handlers in assemblies
- ez Content action handlers
- jetty学习3-handlers
- GoAhead WebServer URL Handlers
- playbook 循环
- python 进阶
- play-book 判断
- python产生随机数
- 文件管理器源码分析(四)
- playbook handlers
- SOAP和wsdl的区别
- jpush
- android 指定角的圆角图片处理
- ansible 安装 nginx
- 前端上传组件Plupload
- dubbo框架总结
- 管理配置文件
- 文件管理器源码分析(五)