Django CAS role

certbot_on_virtu
Alexandre Iooss 2019-07-11 19:07:58 +02:00
parent 5cb6805b36
commit 2b4c0ddfe4
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,14 @@
---
- name: Install APT dependencies
apt:
update_cache: true
name: python3-django-cas-server
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Indicate role in motd
template:
src: update-motd.d/05-service.j2
dest: /etc/update-motd.d/05-cas
mode: 0755

View File

@ -0,0 +1,4 @@
#!/bin/sh
# {{ ansible_managed }}
echo "> le CAS a été déployé sur cette machine."
echo " Voir /usr/local/django/cas"

View File

@ -16,3 +16,8 @@
framadate_path: /var/www/framadate framadate_path: /var/www/framadate
roles: roles:
- framadate - framadate
# Deploy CAS
- hosts: cas-srv.adm.crans.org
roles:
- django-cas