This file contains hidden or 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: dhis | |
become: true | |
gather_facts: no | |
pre_tasks: | |
- raw: apt-get install -y python-simplejson | |
tasks: | |
- name: install letsencrypt |
This file contains hidden or 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: Compile NGINX from sources | |
hosts: dhis | |
vars: | |
nginx_version: nginx-1.15.9 | |
nginx_tarball_url: "http://nginx.org/download/{{ nginx_version }}.tar.gz" | |
nginx_install_dir: "/tmp/{{ nginx_version }}" | |
nginx_sbin_path: "/usr/sbin/nginx" | |
nginx_conf_path: "/etc/nginx/nginx.conf" |
This file contains hidden or 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: dhis | |
remote_user: dhis | |
become: yes | |
vars_files: | |
- vars/main.yml | |
roles: | |
- { role: idealista.tomcat-role } | |
tasks: | |
- name: Install tomcat conf |
This file contains hidden or 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: dhis | |
become: yes | |
vars_files: | |
- vars/main.yml | |
roles: | |
- geerlingguy.postgresql | |
tasks: | |
- name: Install postgis | |
apt: |
This file contains hidden or 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: dhis | |
remote_user: root | |
become: yes | |
tasks: | |
- name: Update all packages to the latest version | |
apt: | |
upgrade: dist | |
- name: Add dhis user | |
user: |
This file contains hidden or 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 sys, os, subprocess | |
launch = True | |
blocker = "" | |
apps = ["Spotify", "Songbird", "VLC"] | |
ps = subprocess.Popen("/bin/ps -x", shell=True, stdout=subprocess.PIPE) |
This file contains hidden or 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
// ==UserScript== | |
// @name Chatrbox | |
// @namespace http://chatrboxapp.com | |
// @description Simple Badge Icon script for Chatrbox | |
// @include * | |
// @author http://twitter.com/jackregnart | |
// ==/UserScript== | |
(function () { | |
if(window.fluid) { |
This file contains hidden or 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
chart :small_revenue_with_signups do |c| | |
c.type = :line | |
## Defines the font size & actual font to use. The size & background colours are used in the | |
## the XML settings and in the HTML which is generated for this chart (unless overriden in the | |
## render). | |
c.font = 'Arial' | |
c.font_size = 11 | |
c.width = 400 | |
c.height = 180 |