Skip to content

Commit d69317f

Browse files
committed
Fix problem with test playbook
1 parent 1984908 commit d69317f

File tree

5 files changed

+18
-25
lines changed

5 files changed

+18
-25
lines changed

LICENSE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

3-
Copyright (c) 2019 Institute for High energy Physics, Austrian Academy of Sciences
3+
Copyright (c) 2019 Institute for High energy Physics
4+
Austrian Academy of Sciences
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# htcondor_ce [![Build Status](https://travis-ci.com/hephyvienna/ansible-role-htcondor-ce.svg?branch=master)](https://travis-ci.com/hephyvienna/ansible-role-htcondor-ce) [![Ansible Role](https://img.shields.io/ansible/role/41511.svg)](https://galaxy.ansible.com/hephyvienna/htcondor-ce)
22

3-
A brief description of the role goes here.
3+
Configuraion of the HTCondor CE for WLCG/EGI site
44

55
Inspired by the [Puppet Module](https://github.com/cernops/puppet-htcondor_ce)
66
and the [Wiki entry](https://wiki.infn.it/progetti/htcondor-tf/htcondor-ce_setup).
@@ -32,11 +32,11 @@ Did not test this feature.
3232

3333
htcondor_ce_enable_bdii: true
3434

35-
Enable BDDI of service
35+
Enable BDII publictaion of the service
3636

3737
htcondor_ce_uid_domain: "{{ ansible_domain }}"
3838

39-
Recognise local condor daemons as friendly (not useful for batch systemn deployment)
39+
Recognise local condor daemons as friendly (not useful for batch system deployment)
4040

4141
htcondor_ce_condor_view_hosts: []
4242

@@ -50,17 +50,11 @@ Set appropriate place to route.
5050

5151

5252
htcondor_ce_benchmark_result: 10.00-HEP-SPEC06
53-
54-
For BDII publishing
55-
5653
htcondor_ce_execution_env_cores: 16
57-
58-
For BDII publishing
59-
6054
htcondor_ce_election_hosts:
6155
- "{{ ansible_fqdn }}"
6256

63-
For BDII publishing
57+
For publication in the BDII
6458

6559
htcondor_ce_argus_server: argus.hephy.oeaw.ac.at
6660

@@ -80,9 +74,6 @@ Argus resource id
8074

8175
## Example Playbook
8276

83-
Including an example of how to use your role (for instance, with variables
84-
passed in as parameters) is always nice for users too:
85-
8677
- hosts: servers
8778
vars:
8879
poolaccounts:
@@ -118,7 +109,6 @@ passed in as parameters) is always nice for users too:
118109
grid_vos:
119110
- cms
120111
roles:
121-
- role: geerlingguy.repo-epel
122112
- role: hephyvienna.poolaccounts
123113
- role: hephyvienna.grid
124114
- role: hephyvienna.htcondor-ce

molecule/default/playbook.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,17 @@
3232
group: cmssgm
3333
gid: 13000
3434
groups: cms
35-
grid_enable_dummy_ca: true
36-
grid_enable_dummy_hostcert: true
35+
grid_dummy_host_certificate: true
3736
grid_vos:
3837
- cms
38+
39+
pre_tasks:
40+
- name: Enable EPEL
41+
package:
42+
name: epel-release
43+
state: present
44+
3945
roles:
40-
- role: geerlingguy.repo-epel
4146
- role: hephyvienna.poolaccounts
4247
- role: hephyvienna.grid
4348
- role: hephyvienna.htcondor-ce

molecule/default/requirements.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
---
2-
- src: geerlingguy.repo-epel
32
- src: hephyvienna.grid
43
- src: hephyvienna.poolaccounts

tasks/htcondor-ce.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@
99

1010
- name: Copy certificates
1111
copy:
12-
src: "/etc/grid-security/{{ item.src }}"
13-
dest: "/etc/grid-security/{{ item.dest }}"
12+
src: "/etc/grid-security/host{{ item }}.pem"
13+
dest: "/etc/grid-security/condor{{ item }}.pem"
1414
remote_src: true
1515
owner: condor
1616
group: condor
1717
loop:
18-
- src: hostcert.pem
19-
dest: condorcert.pem
20-
- src: hostkey.pem
21-
dest: condorkey.pem
18+
- cert
19+
- key
2220

2321
- name: Configure HTCondor CE
2422
template:

0 commit comments

Comments
 (0)