Ansible Conditionals based on facts, variables, re-use
1. OS Tabanlı Koşullar (Facts Kullanımı)
- name: Install Nginx on Ubuntu 18.04 apt: name: nginx=1.18.0 state: present when: ansible_facts['os_family'] == 'Debian' and ansible_facts['distribution_major_version'] == '18'
Neden Faydalı?
2. Değişken (Variable) Tabanlı Koşullar
Neden Faydalı?
3. Görevleri Yeniden Kullanırken (Re-Use) Koşullar
Last updated