From b1a3b8aa21b562b81d79cd2d1edb1e6a1fc9c616 Mon Sep 17 00:00:00 2001 From: Johan Guldmyr Date: Tue, 26 Apr 2016 16:43:10 +0300 Subject: [PATCH] sudo > become - ansible2 --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 139f980..3a73696 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -14,7 +14,7 @@ create=yes with_items: "{{ pdsh_group }}" delegate_to: localhost - sudo: no + become: no register: reg_pdsh_machines - name: copy in /etc/machines @@ -32,4 +32,4 @@ # create=yes # with_dict: groups # delegate_to: localhost -# sudo: no +# become: no