Ver código fonte

sudo directive was deprecated in ansible 1.9.x. Changed the entry to become directive to fix deprecation warnings.

fengor 8 anos atrás
pai
commit
456458b127
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      site.yml

+ 2
- 1
site.yml Ver arquivo

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

Carregando…
Cancelar
Salvar