mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
now correctly aplies add_host passed variables last to override existing vars.
This commit is contained in:
parent
7aab5d6828
commit
a53cf9d6fa
2 changed files with 11 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue