the problem is that rename var is not recognized via module. Is it possible
that module is not valid or has changed name
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported
parameters for (vmware_host_datastore) module: datacener_name, rename
Supported parameters include: datastore_name, datastore_type,
esxi_hostname, hostname, nfs_path, nfs_ro, nfs_server, password, port,
proxy_host, proxy_port, state, username, validate_certs, vmfs_device_name,
vmfs_version"}
pon., 1 mar 2021 o 08:44 Jon POK <[email protected]> napisał(a):
> Hello
>
> After execution datastore is not changed.
> Today i will paste error from -vvv execution
>
> wt., 23 lut 2021, 09:43 użytkownik Dick Visser <[email protected]>
> napisał:
>
>> What exactly does "its not working" mean?
>> Errors, etc?
>>
>> On Tue, 23 Feb 2021 at 08:00, Jon POK <[email protected]> wrote:
>>
>>> Hello
>>>
>>> I am trying to execute this task
>>>
>>> - name: Rename Datastores on ESXi host vmware_host_datastore:
>>> hostname: '{{ vcenter_hostname }}'
>>> username: '{{ vcenter_username }}'
>>> password: '{{ vcenter_password }}'
>>> datacenter_name: '{{ datacenter }}'
>>> datastore_name: datastore(1)
>>> rename: new_datastore_1
>>> esxi_hostname: '{{ inventory_hostname }}' state: present
>>>
>>> but is not working
>>> Has anybody try this and knows how to fix it?
>>>
>>> Piotr
>>>
>>> --
>>> 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/fe60adee-e575-44bc-8323-665d49949d50n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/fe60adee-e575-44bc-8323-665d49949d50n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> Sent from a mobile device - please excuse the brevity, spelling and
>> punctuation.
>>
>> --
>> 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/CAL8fbwMAqqkW3M6-hmziXkrgTa2Y1%2BvEYpLz3KAdB6zxUb-Vmw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAL8fbwMAqqkW3M6-hmziXkrgTa2Y1%2BvEYpLz3KAdB6zxUb-Vmw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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/CAMRMTZVz3Ho2agxhf033D9ZMjbsC9MTaQuA1MgijCH1s6uh5MA%40mail.gmail.com.