mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
upt playbook
This commit is contained in:
@ -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
|
|
Reference in New Issue
Block a user