mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 12:38:11 +00:00
13 lines
337 B
YAML
Executable File
13 lines
337 B
YAML
Executable File
- hosts: datacenter
|
|
name: Apt udate
|
|
become: true
|
|
ignore_unreachable: true
|
|
tasks:
|
|
- name: Upgrade the OS
|
|
ansible.builtin.apt:
|
|
upgrade: full
|
|
become: true
|
|
- name: Upgrade flatpack
|
|
ansible.builtin.command: flatpak update -y
|
|
become: true
|
|
when: inventory_hostname == 'morefine.home.lan' |