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

* fix-ensure-package-in-coreos

* clean blank line
pull/9390/head
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
1 changed files with 2 additions and 0 deletions

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