ansible/playbooks/apt_upgrade.yml
2023-08-10 11:26:43 +02:00

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