Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
05c66638
Commit
05c66638
authored
9 years ago
by
Jupiter Hu
Browse files
Options
Downloads
Patches
Plain Diff
Fixed configuration
parent
346742e5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/karaage3.1.17/tasks/karaage.yml
+13
-0
13 additions, 0 deletions
roles/karaage3.1.17/tasks/karaage.yml
roles/karaage3.1.17/templates/default-ssl.j2
+5
-5
5 additions, 5 deletions
roles/karaage3.1.17/templates/default-ssl.j2
with
18 additions
and
5 deletions
roles/karaage3.1.17/tasks/karaage.yml
+
13
−
0
View file @
05c66638
...
@@ -96,7 +96,20 @@
...
@@ -96,7 +96,20 @@
-
-
name
:
"
enabling
Karaage
configuration"
name
:
"
enabling
Karaage
configuration"
shell
:
cp -rvpf /root/karaage3.1.7/conf/karaage3-wsgi.conf /etc/httpd/conf.d/karaage3-wsgi.conf
shell
:
cp -rvpf /root/karaage3.1.7/conf/karaage3-wsgi.conf /etc/httpd/conf.d/karaage3-wsgi.conf
sudo
:
true
when
:
ansible_os_family == "RedHat"
when
:
ansible_os_family == "RedHat"
-
name
:
"
Enable
shibboleth,
should
it
be
in
shibboleth-sp
role?"
lineinfile
:
insertafter="{{ item.after }}" line="{{ item.line }}" dest=/etc/{% if ansible_os_family == 'RedHat' %}httpd{% else %}apache2{% endif %}/conf-available/karaage3-wsgi.conf state=present
with_items
:
-
{
after
:
'
EOF'
,
line
:
'
<Location
/karaage>'
}
-
{
after
:
'
^<Location
/karaage>'
,
line
:
'
AuthType
Shibboleth'
}
-
{
after
:
'
^AuthType
Shibboleth'
,
line
:
'
ShibRequireSession
On'
}
-
{
after
:
'
^ShibRequireSession
On'
,
line
:
'
ShibUseHeaders
On'
}
-
{
after
:
'
^ShibUseHeaders
On'
,
line
:
'
require
valid-user'
}
-
{
after
:
'
^require
valid-user'
,
line
:
'
</Location>'
}
sudo
:
true
-
-
name
:
"
Installing
other
packages
Debian"
name
:
"
Installing
other
packages
Debian"
apt
:
name={{ item }} update_cache=yes
apt
:
name={{ item }} update_cache=yes
...
...
This diff is collapsed.
Click to expand it.
roles/karaage3.1.17/templates/default-ssl.j2
+
5
−
5
View file @
05c66638
...
@@ -59,12 +59,12 @@
...
@@ -59,12 +59,12 @@
# Note: Inside SSLCACertificatePath you need hash symlinks
# Note: Inside SSLCACertificatePath you need hash symlinks
# to point to the certificate files. Use the provided
# to point to the certificate files. Use the provided
# Makefile to update the hash symlinks after changes.
# Makefile to update the hash symlinks after changes.
{% if ldapCaCertFile is defined and ldapCaCert
Src
is defined %}
{% if ldapCaCertFile is defined and ldapCaCert
Dir
is defined %}
SSLCACertificatePath {{ ldapCaCert
Src
}}
SSLCACertificatePath {{ ldapCaCert
Dir
}}
SSLCACertificateFile {{ ldapCaCert
Src
}}/{{ ldapCaCertFile }}
SSLCACertificateFile {{ ldapCaCert
Dir
}}/{{ ldapCaCertFile }}
{% else %}
{% else %}
SSLCACertificatePath /etc/ssl/certs/
SSLCACertificatePath /etc/ssl/certs/
SSLCACertificateFile {{ x509_cacert_file }}
SSLCACertificateFile {{ x509_cacert_file }}
{% endif %}
{% endif %}
# Certificate Revocation Lists (CRL):
# Certificate Revocation Lists (CRL):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment