Set become_method in ansible.cfg

This commit is contained in:
Timotej Lazar 2024-06-20 20:47:00 +02:00
parent 2618c1c414
commit dbdf88fe36
5 changed files with 3 additions and 10 deletions

View file

@ -20,7 +20,6 @@
- name: run migrations
become: yes
become_method: su
become_user: '{{ user }}'
command: sh ~/app/upgrade.sh
notify: restart netbox