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
 
3
 
4
 - hosts: all
4
 - hosts: all
5
   user: deploy
5
   user: deploy
6
-  become: True
7
-  become_method: sudo
6
+  sudo: True
8
   gather_facts: True
7
   gather_facts: True
9
   vars_files:
8
   vars_files:
10
     - vars/defaults.yml
9
     - vars/defaults.yml

Loading…
Cancel
Save