mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
10 lines
283 B
YAML
10 lines
283 B
YAML
|
- hosts: morefine
|
||
|
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
|