Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: "Power off xxxxxx"
- hosts: localhost
- connection: local
- gather_facts: False
- tasks:
- - name: Power Off vm
- vpshere_guest:
- vcenter_hostname: "x.x.x.x"
- username: "xxxxxxx"
- password: "xxxxxxx"
- guest: "xxxxxx"
- state: shutdownguest
- validate_certs: no
- Error:
- [WARNING]: provided hosts list is empty, only localhost is available
- ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
- The error appears to have been in '/home/markse/Documents/AnsibleScripts/poweroffvm.yaml': line 38, column 5, but may
- be elsewhere in the file depending on the exact syntax problem.
- The offending line appears to be:
- # - pyvmomi
- - name: Power Off xxxxxx
- ^ here
- The error appears to have been in '/home/markse/Documents/AnsibleScripts/poweroffvm.yaml': line 38, column 5, but may
- be elsewhere in the file depending on the exact syntax problem.
- The offending line appears to be:
- # - pyvmomi
- - name: Power Off xxxx
- ^ here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement