Use the computed role name instead of 'role'. Fixes #38838 (#39516)

This commit is contained in:
Matt Martz
2018-04-30 14:41:13 -05:00
committed by GitHub
parent 5f9b7046ed
commit 240b060c02
3 changed files with 20 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
[local]
testhost ansible_ssh_host=127.0.0.1 ansible_connection=local host_var_role_name=role3
testhost2 ansible_ssh_host=127.0.0.1 ansible_connection=local
testhost2 ansible_ssh_host=127.0.0.1 ansible_connection=local host_var_role_name=role2
# For testing delegate_to
testhost3 ansible_ssh_host=127.0.0.3
testhost4 ansible_ssh_host=127.0.0.4