September 2018
Beginner to intermediate
214 pages
5h 53m
English
The following module allows its user to run commands on the virtual machine's operating system via the use of the VMware tools:
- name: run a command on a running virtual machine vmware_guest_snapshot: hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" datacentre: vcenter.lab.edu validate_certs: False folder: /lab-folder vm_id: "{{ inventory_hostname }}" vm_username: setup vm_password: "@P@55w0rd" vm_shell: /bin/service vm_shell_args: networking restart delegate_to: localhost
Read now
Unlock full access