Browse Source

Fix ensure ping package error in fedora CoreOS & Flatcar (#9370)

* fix-ensure-package-in-coreos

* clean blank line
pull/9390/head
Kay Yan 2 years ago
committed by GitHub
parent
commit
131bd933a6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. 2
      roles/kubernetes/preinstall/tasks/0020-verify-settings.yml

2
roles/kubernetes/preinstall/tasks/0020-verify-settings.yml

@ -113,6 +113,8 @@
- access_ip is defined - access_ip is defined
- not ignore_assert_errors - not ignore_assert_errors
- ping_access_ip - ping_access_ip
- not is_fedora_coreos
- not ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk"]
- name: Stop if access_ip is not pingable - name: Stop if access_ip is not pingable
command: ping -c1 {{ access_ip }} command: ping -c1 {{ access_ip }}

Loading…
Cancel
Save