Set become_method in ansible.cfg
This commit is contained in:
parent
2618c1c414
commit
dbdf88fe36
5 changed files with 3 additions and 10 deletions
|
@ -20,7 +20,6 @@
|
|||
|
||||
- name: run migrations
|
||||
become: yes
|
||||
become_method: su
|
||||
become_user: '{{ user }}'
|
||||
command: sh ~/app/upgrade.sh
|
||||
notify: restart netbox
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue