Variable Scope
1. Host Scope
Tanım
Örnek
web1 ansible_host=172.20.1.100
web2 ansible_host=172.20.1.101 dns_server=10.5.5.4
web3 ansible_host=172.20.1.102---
- name: Print DNS Server
hosts: all
tasks:
- debug:
msg: "{{ dns_server }}"2. Play Scope
Tanım
Örnek
3. Global Scope (Genel Kapsam)
Tanım
Örnek
Last updated