JGoutin / ansible_home

A collection of Ansible roles for home free software self-hosting.
https://galaxy.ansible.com/jgoutin/home
GNU General Public License v3.0
31 stars 6 forks source link

common: Automate system upgrade #86

Open JGoutin opened 10 months ago

JGoutin commented 10 months ago

To allow upgrade Fedora + ensure playbook is properly applied in a single Ansible command.

Add a parameter with the excepted fedora version and perform upgrade in case current_version = excepted_version -1. if current_version != excepted_version, return an error, else, skip the upgrade

task:

Should be done at the beginning of common.