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

This commit is contained in:
Nikhil Kumar
2026-08-03 07:21:29 +00:00
committed by GitHub
parent 4ee4ced065
commit 7198b21b3f
2 changed files with 3 additions and 3 deletions
+1 -1
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
+2 -2
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: