Skip to content

Commit 4da22f4

Browse files
committed
%
1 parent 028b686 commit 4da22f4

File tree

4 files changed

+31
-23
lines changed

4 files changed

+31
-23
lines changed

README.md

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,29 @@
1-
Role Name
2-
=========
1+
# grid_htc_ce
32

43
A brief description of the role goes here.
54

6-
Requirements
7-
------------
5+
## Requirements
6+
87

98
Any pre-requisites that may not be covered by Ansible itself or the role should
109
be mentioned here. For instance, if the role uses the EC2 module, it may be a
1110
good idea to mention in this section that the boto package is required.
1211

13-
Role Variables
14-
--------------
12+
## Role Variables
13+
14+
grid_htc_ce_repo_install: true
15+
grid_htc_ce_repo_development_enable: false
16+
grid_htc_ce_batch_system: slurm
17+
grid_htc_ce_argus_server:
1518

16-
A description of the settable variables for this role should go here, including
17-
any variables that are in defaults/main.yml, vars/main.yml, and any variables
18-
that can/should be set via parameters to the role. Any variables that are read
19-
from other roles and/or the global scope (ie. hostvars, group vars, etc.) should
20-
be mentioned here as well.
2119

22-
Dependencies
23-
------------
20+
## Dependencies
2421

2522
A list of other roles hosted on Galaxy should go here, plus any details in
2623
regards to parameters that may need to be set for other roles, or variables that
2724
are used from other roles.
2825

29-
Example Playbook
30-
----------------
26+
## Example Playbook
3127

3228
Including an example of how to use your role (for instance, with variables
3329
passed in as parameters) is always nice for users too:
@@ -36,13 +32,8 @@ passed in as parameters) is always nice for users too:
3632
roles:
3733
- { role: hephyvienna.htcondor-ce, x: 42 }
3834

39-
License
40-
-------
41-
42-
BSD
35+
## License
4336

44-
Author Information
45-
------------------
37+
MIT
4638

47-
An optional section for the role authors to include contact information, or a
48-
website (HTML is not allowed).
39+
## Author Information

files/gsi-authz.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
globus_mapping /usr/lib64/libgsi_pep_callout.so argus_pep_callout

tasks/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,13 @@
77
- name: Install pkgs
88
package:
99
name: "{{ grid_htc_ce_pkgs }}"
10+
11+
- name: Configure gsi-authz
12+
copy:
13+
src: files/gsi-authz.conf
14+
dest: /etc/grid-security/gsi-authz.conf
15+
16+
- name: Configure gsi-pep-callout-condor
17+
template:
18+
src: gsi-pep-callout-condor.conf.j2
19+
dest: /etc/grid-security/gsi-pep-callout-condor.conf
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pep_ssl_server_capath /etc/grid-security/certificates/
2+
pep_ssl_client_cert /etc/grid-security/condorcert.pem
3+
pep_ssl_client_key /etc/grid-security/condorkey.pem
4+
pep_url https:{{ grid_htc_ce_argus_server }}:8154/authz
5+
pep_timeout 30 # seconds
6+
xacml_resourceid http:{{ grid_htc_ce_argus_server }}/condor-ce

0 commit comments

Comments
 (0)