change sudo to become
authorLorin Hochstein <lhochstein@netflix.com>
Sat, 24 Sep 2016 04:17:59 +0000 (21:17 -0700)
committerLorin Hochstein <lhochstein@netflix.com>
Sat, 24 Sep 2016 05:25:01 +0000 (22:25 -0700)
ch02/playbooks/web-notls.yml

index ea66c8f..8376c99 100644 (file)
@@ -1,7 +1,7 @@
 ---
 - name: Configure webserver with nginx
   hosts: webservers
-  sudo: True
+  become: True
   tasks:
     - name: install nginx
       apt: name=nginx update_cache=yes