ansible/roles/zenoamaro.postgresql/handlers/main.yml in subspace-2.1.2 vs ansible/roles/zenoamaro.postgresql/handlers/main.yml in subspace-2.2.0
- old
+ new
@@ -1,8 +1,8 @@
---
- name: restart postgresql
- sudo: yes
+ become: yes
service: name=postgresql state=restarted
- name: reload postgresql
- sudo: yes
- service: name=postgresql state=reloaded
\ No newline at end of file
+ become: yes
+ service: name=postgresql state=reloaded