summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@2ndQuadrant.com>2015-10-02 12:55:48 +0530
committerAbhijit Menon-Sen <ams@2ndQuadrant.com>2015-10-02 21:26:25 +0530
commit1981bf2b950053e05110fed7d87f7d5f42c1a700 (patch)
tree6426d701a75298596032d9ee2ea9b9882c559bc5 /samples
parent3ad9b4cba62707777c3a144677e12ccd913c79a8 (diff)
downloadansible-1981bf2b950053e05110fed7d87f7d5f42c1a700.tar.gz
Aggregate ssh arguments in PlayContext instead of the connection plugin
Using set_host_overrides() in the connection plugin to access the ssh argument variables from the inventory didn't see group_vars/host_vars settings, as noted earlier. Instead, we can set the correct values in the PlayContext, which has access to all command-line options, task settings, and variables. The only downside of doing so is that the source of the settings is no longer available in ssh.py, and therefore can't be logged. But the code is simpler, and it actually works. This change was suggested by @jimi-c in response to the FIXME in the earlier commit.
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions