Commit b37c6eac authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

dspace user to clone

parent 61dea4a9
......@@ -34,6 +34,8 @@
version: "{{ clarin_dspace_version | default('master') }}"
accept_hostkey: "yes"
ssh_opts: "-4"
become: true
become_user: "dspace"
- name: "change ownership for /var/www/html before cloning aai"
file:
......@@ -48,6 +50,8 @@
dest: "/var/www/html/aai"
version: "master"
ssh_opts: "-4"
become: true
become_user: "dspace"
- name: "create symbolic link from python2 to python (python scripts in makefile uses python)"
file:
......
......@@ -5,6 +5,14 @@
job: "{{ dspace_mailto }}"
when: "dspace_mailto is defined"
- name: "
cron:
name: "throw an error to test if mailto works"
minute: "45"
hour: "22"
job: "/usr/bin/chronic {{ bin_dir }}/dspace cleanup"
user: "tomcat"
- name: "dspace cleanup cron job"
cron:
name: "delete removed items from assetstore weekly"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment