Only run ncclient installation task once

It runs on localhost, no need to run for every switch host.

TrivialFix

Change-Id: Ia1576850af29a6f859ce88caee7b71157cbd4474
This commit is contained in:
Mark Goddard 2019-08-13 16:32:17 +01:00
parent 5a473202b7
commit 9c9eaf079d

@ -7,6 +7,7 @@
name: ncclient
virtualenv: "{{ lookup('env', 'VIRTUAL_ENV') | default(omit, true) }}"
become: "{{ lookup('env', 'VIRTUAL_ENV') == None }}"
run_once: true
- name: Ensure Juniper switches are configured
local_action: