Foreman-proxy ansible --connection=local

Trying to run a role against a Junos device where ansible would use netconf in stead of ssh.
Therefore one should expect to set connection:local within the role but for some reason it is being ignored.

Expected outcome:
Use netconf on the actual foreman-proxy where ansible is executed instead of scp and ssh on remote host.

Foreman and Proxy versions:
Foreman and Proxy plugin versions:
ansible 2.1.2-1
Other relevant data: