Ansible: Cluster Level NTP Servisi Baslatmak

Ansible ile tum hostlardaki SSH servisini baslatmak icin asagidaki playbooku kullanabilirsiniz.

---
- hosts: "{{ cluster_name }}"
  gather_facts: false
  connection: local 
  tasks:
  - name: "{{ inventory_hostname }} ssh service starting"
    community.vmware.vmware_host_service_manager:
      validate_certs: False
      hostname: '{{ vcenter_hostname }}'
      username: '{{ vcenter_username }}'
      password: '{{ vcenter_password }}'
      cluster_name: '{{ cluster_name }}'
      esxi_hostname: '{{ inventory_hostname }}'
      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