Selaa lähdekoodia

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

fengor 8 vuotta sitten
vanhempi
commit
456458b127
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      site.yml

+ 2
- 1
site.yml Näytä tiedosto

@@ -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

Loading…
Peruuta
Tallenna