--- - name: "Add harbor base configuration via API" delegate_to: 127.0.0.1 become: false uri: url: "{{ shared_service_url_harbor }}/api/v2.0/configurations" user: '{{ harbor_admin_username }}' password: '{{ harbor_admin_password }}' method: PUT body_format: json force_basic_auth: yes body: "{{ harbor_system_configuration }}" headers: Content-Type: application/json status_code: [200]