Ansible: Vmware Host UP Durumunu Kontrol Etmek

Islemleriniz esnasinda hostu reboot ettiniz ve tekrar up oldugunu kontrol ederek bir sonraki adima gecmesini istiyorsunuz. Asagidaki playbooku piplenanizda kullanabilirsiniz.

---
- name: Vmware Esxi Hypervisor Installation
  hosts: "{{ delegate_server }}"
  gather_facts: no
  tasks:
    - name: ESXi wait for the reboot to complete
      wait_for:
        host: '{{ esxi_hostname }}'
        port: 443
        delay: 120
        state: started
        timeout: 3600
      delegate_to: "{{ delegate_server }}"

Join the ConversationLeave a reply

Your email address will not be published. Required fields are marked *

Comment*

Name*

Website