changed to command line
This commit is contained in:
@@ -15,8 +15,7 @@
|
||||
when: ansible_pkg_mgr == 'apt'
|
||||
become: true
|
||||
become_method: sudo
|
||||
ansible.builtin.apt:
|
||||
upgrade: dist
|
||||
command: sudo apt-get upgrade -y
|
||||
|
||||
- name: Update packages with yum
|
||||
when: ansible_pkg_mgr == 'yum'
|
||||
|
||||
Reference in New Issue
Block a user