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
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
. ifcurrent_version != excepted_version
, return an error, else, skip the upgradetask:
Should be done at the beginning of common.