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

clarin_user for ownership

parent a0de56c2
......@@ -20,7 +20,7 @@
file:
state: "directory"
path: "{{ item }}"
owner: "{{ clarino_user | default ('centos') }}"
owner: "{{ clarin_user | default ('centos') }}"
loop:
- "{{ clarin_home }}"
- "{{ build_dir }}"
......@@ -35,13 +35,13 @@
accept_hostkey: "yes"
ssh_opts: "-4"
become: true
become_user: "dspace"
become_user: "{{ clarin_user }}"
- name: "change ownership for /var/www/html before cloning aai"
file:
path: "/var/www/html"
state: "directory"
owner: "{{ clarino_user | default ('centos') }}"
owner: "{{ clarin_user | default ('centos') }}"
become: true
- name: "clone aai repo"
......@@ -51,7 +51,7 @@
version: "master"
ssh_opts: "-4"
become: true
become_user: "dspace"
become_user: "{{ clarin_user }}"
- name: "create symbolic link from python2 to python (python scripts in makefile uses python)"
file:
......
......@@ -5,14 +5,6 @@
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