File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 6666 become_user : " archivematica"
6767 when : gpg_key_already_exist.rc != 0
6868
69- - name : " Create GPG Space"
69+ - name : " Create GPG Space (new key) "
7070 uri :
7171 url : " {{ archivematica_src_configure_ss_url }}/api/v2/space/"
7272 headers :
8080 body_format : json
8181 status_code : 201
8282 method : POST
83+ when : gpg_key_already_exist.rc != 0
84+
85+ - name : " Create GPG Space (existing key)"
86+ uri :
87+ url : " {{ archivematica_src_configure_ss_url }}/api/v2/space/"
88+ headers :
89+ Content-Type : " application/json"
90+ Authorization : " ApiKey {{ archivematica_src_configure_ss_user }}:{{ archivematica_src_configure_ss_api_key }}"
91+ body :
92+ access_protocol : " GPG"
93+ path : " /"
94+ staging_path : " {{ archivematica_src_configure_gpg.space_staging_directory }}"
95+ key : " {{ gpg_key_already_exist.stdout }}"
96+ body_format : json
97+ status_code : 201
98+ method : POST
99+ when : gpg_key_already_exist.rc == 0
83100
84101 - name : " List GPG Spaces from API"
85102 uri :
You can’t perform that action at this time.
0 commit comments