121 lines
3.0 KiB
YAML
Executable File
121 lines
3.0 KiB
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
---
|
|
# Deploy MoinMoin Wiki
|
|
- hosts: soyouz.adm.crans.org
|
|
roles: [] # TODO
|
|
|
|
# Deploy FramaDate
|
|
- hosts: voyager.adm.crans.org
|
|
vars:
|
|
# mirror on Crans GitLab because adm has no network
|
|
framadate_repo: https://framagit.org/framasoft/framadate/framadate.git
|
|
framadate_version: 1.1.10
|
|
|
|
# User who will run framadate
|
|
# you will have to `sudo -u THISUSER zsh` to debug
|
|
framadate_user: www-data
|
|
framadate_path: /var/www/framadate
|
|
roles:
|
|
- framadate
|
|
|
|
# Deploy CAS
|
|
- hosts: cas-srv.adm.crans.org
|
|
roles:
|
|
- django-cas
|
|
|
|
# Deploy Gitlab CI
|
|
- hosts: gateau.adm.crans.org
|
|
roles:
|
|
- docker
|
|
|
|
# Deploy TV
|
|
- hosts: cochon.adm.crans.org
|
|
roles:
|
|
- mumudvb
|
|
|
|
# Deploy OwnCloud
|
|
- hosts: owncloud-srv.adm.crans.org
|
|
roles:
|
|
- owncloud
|
|
- owncloud-autofs
|
|
|
|
# Mirrors
|
|
- hosts: charybde.adm.crans.org
|
|
vars:
|
|
ftpsync:
|
|
- name: main
|
|
dest: /pubftp/pub/debian/
|
|
cron_time: "25 1,13"
|
|
rsync_host: debian.proxad.net
|
|
rsync_path: debian
|
|
|
|
# https://lists.debian.org/debian-mirrors-announce/2020/03/msg00000.html
|
|
- name: security
|
|
dest: /pubftp/pub/debian-security/
|
|
cron_time: "40 *"
|
|
rsync_host: rsync.security.debian.org
|
|
rsync_path: debian-security
|
|
|
|
- name: backports
|
|
dest: /pubftp/pub/debian-backports/
|
|
cron_time: " 7 3,15"
|
|
rsync_host: debian.proxad.net
|
|
rsync_path: debian-backports
|
|
|
|
- name: ubuntu
|
|
dest: /pubftp/pub/ubuntu/
|
|
cron_time: "55 5,17"
|
|
rsync_host: archive.ubuntu.com
|
|
rsync_path: ubuntu
|
|
|
|
rsync_mirror:
|
|
- name: videolan
|
|
dest: /pubftp/pub/videolan
|
|
cron_time: "03 10,14,18,22,2,6"
|
|
rsync_host: rsync.videolan.org
|
|
rsync_path: videolan-ftp
|
|
|
|
- name: debian
|
|
dest: /pubftp/pub/distributions/linux/debian
|
|
cron_time: "00 5"
|
|
rsync_host: cdimage.debian.org
|
|
rsync_path: cdimage/release
|
|
|
|
- name: ubuntu
|
|
dest: /pubftp/pub/distributions/linux/ubuntu
|
|
cron_time: "00 5"
|
|
rsync_host: cdimage.ubuntu.com
|
|
rsync_path: cdimage/releases
|
|
|
|
- name: xubuntu
|
|
dest: /pubftp/pub/distributions/linux/xubuntu
|
|
cron_time: "00 5"
|
|
rsync_host: cdimage.ubuntu.com
|
|
rsync_path: cdimage/xubuntu/releases
|
|
|
|
- name: kubuntu
|
|
dest: /pubftp/pub/distributions/linux/kubuntu
|
|
cron_time: "00 5"
|
|
rsync_host: cdimage.ubuntu.com
|
|
rsync_path: cdimage/kubuntu/releases
|
|
|
|
- name: lubuntu
|
|
dest: /pubftp/pub/distributions/linux/lubuntu
|
|
cron_time: "00 5"
|
|
rsync_host: cdimage.ubuntu.com
|
|
rsync_path: cdimage/lubuntu/releases
|
|
|
|
- name: ubuntu-mate
|
|
dest: /pubftp/pub/distributions/linux/ubuntu-mate
|
|
cron_time: "00 5"
|
|
rsync_host: cdimage.ubuntu.com
|
|
rsync_path: cdimage/ubuntu-mate/releases
|
|
roles:
|
|
- ftpsync
|
|
- rsync-mirror
|
|
- nginx-pubftp
|
|
|
|
- hosts: zephir.adm.crans.org,omnomnom.adm.crans.org
|
|
roles:
|
|
- backuppc
|