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 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