瀏覽代碼

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

fengor 8 年之前
父節點
當前提交
2613587946
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1
    2
      site.yml

+ 1
- 2
site.yml 查看文件

@@ -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…
取消
儲存