Replace injected Ansible fact variables in Remaining roles (#13383)

This commit is contained in:
Nikhil Kumar
2026-08-03 12:51:29 +05:30
committed by GitHub
parent 4ee4ced065
commit 7198b21b3f
2 changed files with 3 additions and 3 deletions

View File

@@ -443,7 +443,7 @@
- name: Reset | Restart network
when:
- ansible_os_family not in ["Flatcar", "Flatcar Container Linux by Kinvolk"]
- ansible_facts['os_family'] not in ["Flatcar", "Flatcar Container Linux by Kinvolk"]
- reset_restart_network | bool
tags:
- services

View File

@@ -2,7 +2,7 @@
- name: APT upgrade
when:
- system_upgrade
- ansible_os_family == "Debian"
- ansible_facts['os_family'] == "Debian"
include_tasks: apt.yml
tags:
- system-upgrade-apt
@@ -10,7 +10,7 @@
- name: YUM upgrade
when:
- system_upgrade
- ansible_os_family == "RedHat"
- ansible_facts['os_family'] == "RedHat"
- not is_fedora_coreos
include_tasks: yum.yml
tags: