Browse Source

reverting become change. become directive is only available in ansible 1.9.x and newer.

fengor 8 years ago
parent
commit
05cb26f239
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      site.yml

+ 1
- 2
site.yml View File

@@ -3,8 +3,7 @@
3 3
 
4 4
 - hosts: all
5 5
   user: deploy
6
-  become: True
7
-  become_method: sudo
6
+  sudo: True
8 7
   gather_facts: True
9 8
   vars_files:
10 9
     - vars/defaults.yml

Loading…
Cancel
Save