Ansible: Start ESX SSH service

Ansible ile SSH serivisini baslatmak icin asagidaki playbooku kullanabilirsiniz.

 

---
- hosts: all 
  gather_facts: false
  connection: local 
  tasks:
  - name: "{{ inventory_hostname }} ssh service starting"
    community.vmware.vmware_host_service_manager:

      esxi_hostname: '{{ inventory_hostname }}'
      validate_certs: False
      service_name: TSM-SSH
      state: stop
    delegate_to: localhost

Join the ConversationLeave a reply

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

Comment*

Name*

Website