mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
now correctly aplies add_host passed variables last to override existing vars.
This commit is contained in:
@@ -42,6 +42,12 @@
|
||||
debug: var=unicode_host_var
|
||||
|
||||
|
||||
- name: 'A play for hosts in group: ĪīĬĭ'
|
||||
hosts: 'ĪīĬĭ'
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- debug: var=hostvars[inventory_hostname]
|
||||
|
||||
- name: 'A play for hosts in group: ĪīĬĭ'
|
||||
hosts: 'ĪīĬĭ'
|
||||
gather_facts: true
|
||||
|
||||
Reference in New Issue
Block a user