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
#!/usr/bin/env python | |
import urllib | |
import urllib2 | |
import sys | |
import json | |
from json import JSONDecoder | |
def command_hive( ACTION ): |
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
[Unit] | |
Description=Maraschino Daemon | |
[Service] | |
User=root | |
Group=root | |
Type=forking | |
GuessMainPID=no | |
ExecStart=/usr/bin/python /opt/maraschino/Maraschino.py -d -v |
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
- name: create ssl vhost | |
template: src=ssl_vhost.conf dest=/etc/nginx/conf.d/{{ server_name }}.conf backup=yes | |
notify: reload nginx | |
- name: create self-signed SSL cert | |
command: openssl req -new -nodes -x509 -subj "/C=UK/ST=London/L=London/O=IT/CN={{server_name}}" -days 3650 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt -extensions v3_ca creates=/etc/nginx/ssl/server.crt | |
when: use_self_signed_cert == "yes" | |
notify: reload nginx |
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
keepalived_global: | |
type: mysql | |
notification_email: systems@bigstep.com | |
interface: eth0 | |
vr_id: 52 | |
virtual_ips: | |
- 192.168.107.56 |