From 4bdd755412c2d077306d7bc12f743a2790242af0 Mon Sep 17 00:00:00 2001 From: Daniel Petty Date: Thu, 18 Feb 2016 16:18:22 -0700 Subject: [PATCH 1/2] replaced sudo with become --- cloud/google/gce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/google/gce.py b/cloud/google/gce.py index 96085170692..32b6d2d5207 100644 --- a/cloud/google/gce.py +++ b/cloud/google/gce.py @@ -201,7 +201,7 @@ EXAMPLES = ''' - name: Configure instance(s) hosts: launched - sudo: True + become: True roles: - my_awesome_role - my_awesome_tasks From e256ae0683d8ff64696a07b644f3681bc4346fad Mon Sep 17 00:00:00 2001 From: Daniel Petty Date: Thu, 18 Feb 2016 16:18:59 -0700 Subject: [PATCH 2/2] replaced sudo with become --- cloud/amazon/ec2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/ec2.py b/cloud/amazon/ec2.py index 9349cf76057..4144b993d74 100644 --- a/cloud/amazon/ec2.py +++ b/cloud/amazon/ec2.py @@ -428,7 +428,7 @@ EXAMPLES = ''' - name: Configure instance(s) hosts: launched - sudo: True + become: True gather_facts: True roles: - my_awesome_role