mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
09d40ba1b7
commit
41d0da3c31
@ -2,9 +2,7 @@
|
||||
name: Apt udate
|
||||
become: true
|
||||
tasks:
|
||||
- name: Apt update
|
||||
ansible.builtin.shell: 'apt update'
|
||||
changed_when: false
|
||||
- name: Apt upgrade
|
||||
ansible.builtin.shell: 'apt -o Dpkg::Options::="--force-confnew" upgrade -y'
|
||||
changed_when: false
|
||||
|
||||
- name: Upgrade the OS
|
||||
ansible.builtin.apt:
|
||||
upgrade: full
|
Loading…
x
Reference in New Issue
Block a user