ansible/playbooks/apt_upgrade.yml

13 lines
337 B
YAML
Raw Normal View History

2023-12-15 06:36:21 +01:00
- hosts: datacenter
2023-08-10 11:26:43 +02:00
name: Apt udate
2023-08-29 12:27:33 +02:00
become: true
2024-06-02 22:32:26 +02:00
ignore_unreachable: true
2023-08-10 11:26:43 +02:00
tasks:
2023-08-10 11:31:31 +02:00
- name: Upgrade the OS
ansible.builtin.apt:
2023-08-29 12:34:15 +02:00
upgrade: full
2024-02-29 09:17:28 +01:00
become: true
- name: Upgrade flatpack
2024-02-29 09:21:31 +01:00
ansible.builtin.command: flatpak update -y
2024-03-06 09:29:44 +01:00
become: true
2024-11-26 16:29:27 +01:00
when: inventory_hostname == 'morefine.home.lan'