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

* fix-ensure-package-in-coreos

* clean blank line
This commit is contained in:
Kay Yan 2022-10-14 07:54:46 +08:00 committed by GitHub
parent 52904ee6ad
commit 131bd933a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}