diff options
author | Matt Martz <matt@sivel.net> | 2018-04-30 14:41:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 14:41:13 -0500 |
commit | 240b060c02ee08fc6914a50398bb52e2b36b722c (patch) | |
tree | e2fadfceb682217d602cb4a4156c519779672d6d /lib | |
parent | 5f9b7046ed2a43a172d53e5724e4b4aaf123b023 (diff) | |
download | ansible-240b060c02ee08fc6914a50398bb52e2b36b722c.tar.gz |
Use the computed role name instead of 'role'. Fixes #38838 (#39516)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ansible/playbook/included_file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/playbook/included_file.py b/lib/ansible/playbook/included_file.py index e0e09373ca..a2261fb39e 100644 --- a/lib/ansible/playbook/included_file.py +++ b/lib/ansible/playbook/included_file.py @@ -160,7 +160,7 @@ class IncludedFile: from_key = from_arg.replace('_from', '') new_task._from_files[from_key] = templar.template(include_variables[from_arg]) - inc_file = IncludedFile("role", include_variables, new_task, is_role=True) + inc_file = IncludedFile(role_name, include_variables, new_task, is_role=True) try: pos = included_files.index(inc_file) |