Any scripts running on the RS servers should be moved to AWS. For example, the script to generate monthly stats reports on production API servers (see https://digitalpubliclibraryofamerica.atlassian.net/wiki/display/RUNBOOK/Generate+Platform+monthly+stats step 4)
I'll add an Ansible play to compact the dbs, and it will use the compaction script modified in PR 30. *I'll leave this ticket open until that is done.*
After talking with MB in Slack, I reworked this.
dpla/platform pull request #30 now removes the compaction script.
All of the scripts are now managed upder the automation repo; see dpla/automation pull request #22.
I think that both pull requests are nearly good to go.
PR 30 for removing the script from the platform app looks fine.
PR 22 also looks fine, but I was just wondering in the pull request commentary whether the tasks' tags should be changed.
When these are merged, I think this ticket can be closed. *I think that I should not create an Ansible play to compact the BigCouch databases* as I'd mentioned above. Instead, I think that compaction should be run in a terminal with screen.
PR 30 and PR 20 are squashed and ready to merge.
The pull requests have been merged.
I have also updated the runbook documentation for the monthly stats script, which is mentioned in this ticket's description.
I'm closing this ticket, but have to move it through "in progress" first.