Actions
Task #6203
closedDo not rebuild the smartgears container.xml file from ansible if a token was not passed at playbook execution time
Status:
Closed
Priority:
Normal
Assignee:
Category:
System Application
Target version:
Start date:
Dec 13, 2016
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Development, Pre-Production, Production
Description
@lucio.lelii@isti.cnr.it is asking to not rebuild the container.xml with the old data if a token request is not performed.
To obtain that, container.xml needs to be assembled by the get-scopes script and not by an ansible task.
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 100
The get-scopes script now, if it's called by the playbook, asks for the scopes tokens and then builds the container.xml file assembling the three template parts.
The ansible playbook runs the get-scopes scripts if an admin token was explicitly passed in a variable to the playbook run.
So, any manual changes to the smartgears configuration will only be overwritten if a token has been passed to ansible.
Needs to be tested.
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from In Progress to Closed
The script as been tested successfully on ckan-d-d4s.d4science.org
Actions