Commit 51048eda authored by Maiken's avatar Maiken
Browse files

Small adjustements

parent 623e3b99
......@@ -206,7 +206,9 @@ ansible-playbook <path-to-your-arc-ce-git-clone>/contrib/ansible/arc-ce/site_arc
--extra-vars="@$play_vars/griduser_local.yml" \
--extra-vars="@$play_vars/host_env.yml" \
--extra-vars="@$play_vars/cvmfs.yml" \
--extra-vars="@$play_vars/slurm_pwd.yml"
--extra-vars="@$play_vars/slurm_pwd.yml" \
--extra-vars="@$play_vars/act.yml"
......
......@@ -230,6 +230,17 @@
environment: "{{local_env}}"
command: "/usr/bin/python {{ install_dir }}/aCT/src/act/atlas/aCTDBPanda.py"
- name: Create condor table
become: yes
become_user: "{{ localuser }}"
environment: "{{local_env}}"
expect:
command: "/usr/bin/python {{ install_dir }}/aCT/src/act/condor/aCTDBCondor.py"
responses:
'Are you sure you want to recreate it\? \(y\/n\)': 'yes'
echo: yes
ignore_errors: yes
- name: Restart aCT
become: yes
......
......@@ -30,6 +30,15 @@
tags:
- users
## SLURM
#######
- name: Include slurm.yml
include: slurm.yml
static: no
tags:
- myslurm
when: lrms_type=='slurm'
## CONDOR
#######
......
---
- name: Add Slurm grid account
shell: |
sacctmgr --immediate --parsable --noheader list account | grep '^{{item}}|' \
|| sacctmgr --immediate --quiet add account '{{item}}'
with_items: '{{group_name_grid}}'
- name: Add Slurm user to grid account
shell: |
sacctmgr --immediate --parsable --noheader list user Account={{ group_name_grid }} | grep '^{{item}}|' \
|| sacctmgr --immediate --quiet add user '{{item}}' DefaultAccount={{ group_name_grid }}
with_items: '{{ user_name_grid }}'
...
......@@ -2,10 +2,13 @@
# tasks file for setting up cvmfs
#
- name: install wget
yum: name=wget state=present
- name: wget cvmfs-repo
command: wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm --no-check-certificate
- name: Install cvmfs-repo
yum:
name: cvmfs-release-latest.noarch.rpm
......
......@@ -210,6 +210,19 @@
when: is_rhel7_compatible
- name: Check that nordugrid-arc.spec is present
stat:
path: "{{ install_dir }}/arc/nordugrid-arc.spec"
register: stat_result
- name: yum-builddep
command: yum-builddep -y nordugrid-arc.spec
args:
chdir: "{{ install_dir }}/arc"
when: stat_result.stat.exists
- name: Running make
become: true
become_user: "{{ user_name_grid }}"
......
......@@ -25,6 +25,8 @@ ca_packages:
- ca_policy_igtf-slcs
arc_frontend_grid_queue: main
#################### arc.conf SLURM
x509_cert_dir: "{{ install_dir }}/etc/grid-security/certificates"
......
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