Skip to content

Instantly share code, notes, and snippets.

View seriald's full-sized avatar

Robert Fleming seriald

View GitHub Profile
@seriald
seriald / wordpress_on_apache
Created May 28, 2016 05:08 — forked from kdjomeda/wordpress_on_apache
Intro to ansible tutorial playbook
---
- hosts: webservers
tasks:
- name: Install Apache
apt: pkg=apache2 update_cache=true state=installed
- name: Install bunch of php packages
apt: pkg={{ item }} update_cache=true state=installed
with_items:
- php5
- php5-cli
@seriald
seriald / debian_upgrade.yml
Created May 28, 2016 04:38 — forked from maethor/debian_upgrade.yml
Ansible playbook to update and upgrade Debian hosts
---
- 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)
@seriald
seriald / ttrss-on-ubuntu.md
Created March 12, 2016 03:26 — forked from yeokm1/ttrss-on-ubuntu.md
How to install Tiny Tiny RSS on Ubuntu

Adapted from here

  1. Install all packages
sudo apt-get update
sudo apt-get install php5 php5-pgsql php5-fpm php-apc php5-curl php5-cli postgresql nginx git
  1. Configure PostgresSQL