You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
434 B
YAML
16 lines
434 B
YAML
---
|
|
- 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]
|