s/sudo/become
authorLorin Hochstein <lhochstein@netflix.com>
Sat, 24 Sep 2016 05:56:01 +0000 (22:56 -0700)
committerLorin Hochstein <lhochstein@netflix.com>
Sat, 24 Sep 2016 05:56:01 +0000 (22:56 -0700)
ch04/playbooks/install-package.yml
ch04/playbooks/update-cache.yml

index 8e70309..74d2575 100644 (file)
@@ -2,7 +2,7 @@
 - name: show return value of apt module
   hosts: server1
   gather_facts: False
-  sudo: True
+  become: True
   tasks:
     - name: install nginx
       apt: name=nginx
index 34d4be1..c5384c2 100644 (file)
@@ -2,7 +2,7 @@
 - name: show return value of apt module
   hosts: server1
   gather_facts: False
-  sudo: True
+  become: True
   tasks:
     - name: install nginx
       apt: update_cache=yes