Introduction to Handlers
1. Handlers Nedir, Ne İşe Yarar?
2. “notify” Mekanizması
3. Örnek Basit Playbook
- name: Deploy Application
hosts: application_servers
tasks:
- name: Copy Application Code
copy:
src: app_code/
dest: /opt/application/
notify: Restart Application Service
handlers:
- name: Restart Application Service
service:
name: application_service
state: restarted4. Handlers’ın Avantajları
5. Özet
Last updated