remove becom_method
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
- name: Upgrade packages with apt
|
- name: Upgrade packages with apt
|
||||||
when: ansible_pkg_mgr == 'apt'
|
when: ansible_pkg_mgr == 'apt'
|
||||||
become: true
|
become: true
|
||||||
become_method: sudo
|
|
||||||
command: sudo apt-get upgrade -y
|
command: sudo apt-get upgrade -y
|
||||||
|
|
||||||
- name: Update packages with yum
|
- name: Update packages with yum
|
||||||
|
|||||||
Reference in New Issue
Block a user