mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-08-04 12:00:09 -02:30
Replace injected Ansible fact variables in Remaining roles (#13383)
This commit is contained in:
@@ -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,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:
|
||||
|
||||
Reference in New Issue
Block a user