I got a pb that works like this. any idea how i can convert this to a role?
---
- name: test
hosts: all
gather_facts: no
vars_files:
- vcenter_creds.yml
- vars.yml
tasks:
- name: Enable SSH service
vmware_host_service_manager:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
esxi_hostname: "{{ hostname }}"
validate_certs: no
state: present
service_name: "TSM-SSH"
delegate_to: localhost
sdfsdfsd
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d637013b-7cba-4401-b7c0-edcb70b6a52cn%40googlegroups.com.