From f5f83eb6187e136d7b312d80725eaa4d58137432 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Sun, 26 Jul 2015 16:52:16 +0200
Subject: [PATCH] Local installation script: use sudo for plugin installation

---
 setup_local.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup_local.yml b/setup_local.yml
index ffbe2d45..8bb941f8 100644
--- a/setup_local.yml
+++ b/setup_local.yml
@@ -42,6 +42,7 @@
       with_items: "{{ plugins }}"
     - name: "Install plugins"
       file:
+        sudo: yes
         src="{{ lookup('env','PWD') }}/plugins/{{ item.name }}/action_plugins/{{ item.name }}.py"
         dest="/usr/share/ansible_plugins/action_plugins/{{ item.name }}.py"
         state="link"
-- 
GitLab