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
|
name: Apt udate
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: Apt update
|
|
||||||
ansible.builtin.shell: 'apt update'
|
- name: Upgrade the OS
|
||||||
changed_when: false
|
ansible.builtin.apt:
|
||||||
- name: Apt upgrade
|
upgrade: full
|
||||||
ansible.builtin.shell: 'apt -o Dpkg::Options::="--force-confnew" upgrade -y'
|
|
||||||
changed_when: false
|
|
Loading…
x
Reference in New Issue
Block a user