mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
bugfix for extra-vars
This commit is contained in:
parent
5764ccdb0e
commit
c742b8eb0b
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ class PlayBook(object):
|
||||||
SETUP_CACHE[host] = result
|
SETUP_CACHE[host] = result
|
||||||
|
|
||||||
if self.extra_vars:
|
if self.extra_vars:
|
||||||
extra_vars = utils.parse_kv(shlex.split(self.extra_vars))
|
extra_vars = utils.parse_kv(self.extra_vars)
|
||||||
for h in self.host_list:
|
for h in self.host_list:
|
||||||
try:
|
try:
|
||||||
SETUP_CACHE[h].update(extra_vars)
|
SETUP_CACHE[h].update(extra_vars)
|
||||||
|
|
Loading…
Reference in a new issue