I'm running an ansible playbook but I end up with this error:
conflicting action statements: user, uri
playbook:
- name: install
hosts: director.0
gather_facts: no
tasks:
- name: elastic cluster ready wait
uri:
url: https://mlaascloudui.{{ lookup('env','ENV') }}.pre.mls.eu.gs.aws.cloud.vwgroup.com/api/v1/clusters/elasticsearch/{{elasticClusterDetails.elasticsea$
method: GET
user: admin
password: "{{****}}"
force_basic_auth: yes
register: result
until: result['status']|default(0) == 412
retries: 60
delay: 10
- name: watcher