mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-03 10:38:19 -03:30
Fix ansible syntax to avoid ansible warnings (#3499)
This commit is contained in:
committed by
k8s-ci-robot
parent
cdce8c81da
commit
dd5327ef9e
@@ -81,6 +81,7 @@
|
||||
shell: mount | grep /var/lib/kubelet/ | awk '{print $3}' | tac
|
||||
check_mode: no
|
||||
register: mounted_dirs
|
||||
warn: false
|
||||
tags:
|
||||
- mounts
|
||||
|
||||
@@ -209,7 +210,9 @@
|
||||
networking
|
||||
{%- endif %}
|
||||
state: restarted
|
||||
when: ansible_os_family not in ["CoreOS", "Container Linux by CoreOS"] and reset_restart_network
|
||||
when:
|
||||
- ansible_os_family not in ["CoreOS", "Container Linux by CoreOS"]
|
||||
- reset_restart_network
|
||||
tags:
|
||||
- services
|
||||
- network
|
||||
|
||||
Reference in New Issue
Block a user