From f154e01e0855bf13f5168308c645d3e9615dafed Mon Sep 17 00:00:00 2001 From: Cliff Ingham Date: Fri, 16 Aug 2019 13:17:30 -0400 Subject: [PATCH] Removed CKAN upload ansible deployment --- ansible/deploy.yml | 5 ----- ansible/templates/cron.sh | 15 ++------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/ansible/deploy.yml b/ansible/deploy.yml index 5700669f..c6d76c54 100644 --- a/ansible/deploy.yml +++ b/ansible/deploy.yml @@ -103,11 +103,6 @@ dest: /etc/cron.daily/backup.d/onboard.cnf mode: 0400 - - name: "Install CKAN export configuration" - template: - src: "ckan_config.inc" - dest: "{{ onboard_site_home }}/ckan_config.inc" - - name: "Update directory ownership" command: "chown -R www-data:staff {{ item }}" args: diff --git a/ansible/templates/cron.sh b/ansible/templates/cron.sh index da0a0c99..24868f02 100644 --- a/ansible/templates/cron.sh +++ b/ansible/templates/cron.sh @@ -1,8 +1,7 @@ #!/bin/bash -# @copyright Copyright 2011-2018 City of Bloomington, Indiana -# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt +# @copyright Copyright 2011-2019 City of Bloomington, Indiana +# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE APPLICATION_NAME="onboard" -PHP="/usr/bin/php" MYSQLDUMP="/usr/bin/mysqldump" MYSQL_DBNAME="{{ onboard_db.name }}" MYSQL_CREDENTIALS="/etc/cron.daily/backup.d/${APPLICATION_NAME}.cnf" @@ -10,16 +9,6 @@ BACKUP_DIR="{{ onboard_backup_path }}" APPLICATION_HOME="{{ onboard_install_path }}" SITE_HOME="{{ onboard_site_home }}" -#---------------------------------------------------------- -# Data Warehouse export -#---------------------------------------------------------- -export SITE_HOME=$SITE_HOME -{% if onboard_proxy %} -# Set this if your OnBoard install lives behind a reverse proxy -export HTTP_X_FORWARDED_HOST={{ onboard_proxy }} -{% endif %} -$PHP $APPLICATION_HOME/scripts/Ckan/updateCkan.php - #---------------------------------------------------------- # Backup # Creates a tarball containing a full snapshot of the data in the site