Commit 2cf6662d authored by Adam Robinson's avatar Adam Robinson
Browse files

check state of ssh service

parent 95bed860
---
# tasks file for pure_storage_vmware_best_practices
- name: Get the current state of all services
vmware_host_service_facts:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
delegate_to: localhost
register: host_service_facts
- name: Start SSH Temporarily
vmware_host_service_manager:
hostname: '{{ vcenter_hostname }}'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment