got it, thanks, never realized that 

On Thursday, May 18, 2023 at 11:05:08 AM UTC-7 Todd Lewis wrote:

> Pull your "register:" to the left. It's a task key word, so should line up 
> with "name:" and "ansible.builtin.uri", rather than with "url:", "method:", 
> etc.
>
> On Thursday, May 18, 2023 at 2:00:53 PM UTC-4 Narmada Karthika wrote:
>
>> {"changed": false, "msg": "Unsupported parameters for 
>> (ansible.legacy.uri) module: register. Supported parameters include: 
>> ca_path, serole, client_key, use_proxy, setype, attributes (attr), force 
>> (thirsty), use_gssapi, force_basic_auth, seuser, src, validate_certs, 
>> client_cert, return_content, unix_socket, unsafe_writes, headers, url, 
>> creates, selevel, http_agent, mode, body, status_code, removes, method, 
>> remote_src, dest, url_password (password), url_username (user), timeout, 
>> group, body_format, follow_redirects, 
>> this is the error I am getting
>> here is my playbook
>>
>> --- - name: make a curl call hosts: localhost become: true user: root 
>> gather_facts: no tasks: - name: Create Weekly Release Sequence 
>> ansible.builtin.uri: url: 'https://google.com' method: GET 
>> return_content: yes body_format: json register: result - debug: var: 
>> result.stdout no_log: False 
>>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ee386838-4d7d-45c4-a9f3-914552f7b755n%40googlegroups.com.

Reply via email to