Skip to content
Snippets Groups Projects
Commit 88629b14 authored by Chris Hines's avatar Chris Hines
Browse files

making hpcid cluster work

parent c4e22ab9
No related branches found
No related tags found
No related merge requests found
...@@ -109,32 +109,28 @@ ...@@ -109,32 +109,28 @@
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 sudo: true
when: ansible_os_family == "RedHat" when: ansible_os_family == "RedHat"
-
name: "Enable shibboleth, should it be in shibboleth-sp role?" - name: "Configure karaage3-wsgi.conf"
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 template: src=karaage3-wsgi.conf.j2 dest=/etc/{% if ansible_os_family == 'RedHat' %}httpd{% else %}apache2{% endif %}/conf-available/karaage3-wsgi.conf
with_items: sudo: true
- { after: 'EOF', line: '<Location /karaage>' }
- { after: '^<Location /karaage>', line: 'AuthType Shibboleth' } #-
- { after: '^AuthType Shibboleth', line: 'ShibRequireSession On' } # name: "Enable shibboleth, should it be in shibboleth-sp role?"
- { after: '^ShibRequireSession On', line: 'ShibUseHeaders On' } # 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
- { after: '^ShibUseHeaders On', line: 'require valid-user' } # with_items:
- { after: 'EOF', line: '</Location>' } # - { after: 'EOF', line: '<Location /karaage>' }
- { after: '^require valid-user', line: '</Location>' } # - { after: '^<Location /karaage>', line: 'AuthType Shibboleth' }
sudo: true # - { after: '^AuthType Shibboleth', line: 'ShibRequireSession On' }
# - { after: '^ShibRequireSession On', line: 'ShibUseHeaders On' }
#- name: "Make sure python-pyasn1 is definitly not installed" # - { after: '^ShibUseHeaders On', line: 'require valid-user' }
# apt: name=python-pyasn1 state=removed # - { after: '^require valid-user', line: '</Location>' }
# sudo: true # sudo: true
#
#- name: "Install python-ldap3 but not python-pyasn1"
# apt: name=python-ldap3 state=present dpkg_options="ignore-depends=python-pyasn1"
# sudo: true
#
- -
name: "Installing other packages Debian" name: "Installing other packages Debian"
apt: name={{ item }} update_cache=yes apt: name={{ item }} update_cache=yes
with_items: with_items:
# - python-kgusage - python-kgusage
# - karaage-cluster-tools # - karaage-cluster-tools
- karaage3-celery - karaage3-celery
sudo: true sudo: true
......
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
# certificate chain for the server certificate. Alternatively # certificate chain for the server certificate. Alternatively
# when the CA certificates are directly appended to the server # when the CA certificates are directly appended to the server
# certificate for convinience. # certificate for convinience.
SSLCertificateChainFile /etc/ssl/certs/{{ apache_chain_file }}
# Certificate Authority (CA): # Certificate Authority (CA):
# Set the CA certificate verification path where to find CA # Set the CA certificate verification path where to find CA
......
...@@ -36,7 +36,8 @@ ...@@ -36,7 +36,8 @@
when: ansible_os_family == "RedHat" and ansible_distribution_major_version < 7 when: ansible_os_family == "RedHat" and ansible_distribution_major_version < 7
- name: "Starting MySQL" - name: "Starting MySQL"
service: name=mariadb state=started enabled=true #service: name=mariadb state=started enabled=true
service: name=mysqld state=started enabled=true
sudo: true sudo: true
when: ansible_os_family == "RedHat" and ansible_distribution_major_version >= 7 when: ansible_os_family == "RedHat" and ansible_distribution_major_version >= 7
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment