This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- | |
# vim: set filetype=sh sw=3 sts=3 expandtab autoindent: | |
# | |
# borg handler script for backupninja | |
# requires borgbackup | |
# | |
# Guillaume Subiron, Sysnove, 2016 | |
# | |
# Copyright 2016 Guillaume Subiron <guillaume@sysnove.fr> | |
# This work is free. You can redistribute it and/or modify it under the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: backup-servers | |
tasks: | |
- name: Install rdiff-backup | |
apt: pkg=rdiff-backup state=installed | |
- name: Install borgbackup | |
apt: pkg=borgbackup state=installed | |
- hosts: all | |
vars: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Guillaume Subiron, Sysnove, 2016 | |
# Inspired by Benjamin Sonntag's https://github.com/octopuce/octopuce-goodies/blob/master/letsencrypt-renew/letsencrypt-auto-renew.sh | |
# | |
# Description : | |
# | |
# This script generates or regenerates SSL certificates using acme-tiny | |
# to sign the certificate signing requests found in /etc/letsencrypt/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# | |
# Copyright (c) 2014 Guillaume <maethor> Subiron (http://www.sysnove.fr/) | |
# Plugin: check_nginx_status | |
# | |
$colors = array( | |
'read' => '#5a3d99', | |
'write' => '#ff0000', | |
'wait' => '#e5ca44', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
sudo: yes | |
tasks: | |
- name: Update packages list | |
apt: update_cache=yes | |
when: ansible_os_family == 'Debian' | |
- name: List packages to upgrade (1/2) |
OlderNewer