ansiblebook.git
8 years agoLocally, default to 8443
Lorin Hochstein [Tue, 7 Feb 2017 05:18:54 +0000 (21:18 -0800)]
Locally, default to 8443

8 years agoRedirect http to https
Lorin Hochstein [Tue, 7 Feb 2017 05:10:01 +0000 (21:10 -0800)]
Redirect http to https

8 years agoNetworking
Lorin Hochstein [Tue, 7 Feb 2017 05:00:32 +0000 (21:00 -0800)]
Networking

8 years agoFix typo, don't specify a command for docker container
Lorin Hochstein [Tue, 7 Feb 2017 04:43:43 +0000 (20:43 -0800)]
Fix typo, don't specify a command for docker container

8 years agoFix typo
Lorin Hochstein [Tue, 7 Feb 2017 04:43:36 +0000 (20:43 -0800)]
Fix typo

8 years agoAdd ghost deploy
Lorin Hochstein [Tue, 7 Feb 2017 03:59:20 +0000 (19:59 -0800)]
Add ghost deploy

8 years agoupdate makefile
Lorin Hochstein [Tue, 7 Feb 2017 03:57:50 +0000 (19:57 -0800)]
update makefile

8 years agoCreate template
Lorin Hochstein [Tue, 7 Feb 2017 03:57:36 +0000 (19:57 -0800)]
Create template

8 years agocheckpoint for ghost playbook
Lorin Hochstein [Tue, 7 Feb 2017 03:36:11 +0000 (19:36 -0800)]
checkpoint for ghost playbook

8 years agoAdd config file to be used as template
Lorin Hochstein [Tue, 7 Feb 2017 03:35:24 +0000 (19:35 -0800)]
Add config file to be used as template

8 years agoRun container as root user
Lorin Hochstein [Tue, 7 Feb 2017 03:29:40 +0000 (19:29 -0800)]
Run container as root user

It's non-trivial to get Postgres container to run as non-root. Run as root for
simplicity

8 years agodisable host key checking
Lorin Hochstein [Tue, 7 Feb 2017 03:22:13 +0000 (19:22 -0800)]
disable host key checking

8 years agoupdate deploy
Lorin Hochstein [Mon, 6 Feb 2017 06:54:01 +0000 (22:54 -0800)]
update deploy

8 years agoPostgres container as non-root
Lorin Hochstein [Mon, 6 Feb 2017 06:40:52 +0000 (22:40 -0800)]
Postgres container as non-root

8 years agoadd creds to inventory
Lorin Hochstein [Mon, 6 Feb 2017 06:13:56 +0000 (22:13 -0800)]
add creds to inventory

8 years agoadd memory
Lorin Hochstein [Mon, 6 Feb 2017 05:19:43 +0000 (21:19 -0800)]
add memory

8 years agoadd deploy target
Lorin Hochstein [Mon, 6 Feb 2017 05:10:24 +0000 (21:10 -0800)]
add deploy target

8 years agoFix deploy with docker stuff
Lorin Hochstein [Mon, 6 Feb 2017 05:10:06 +0000 (21:10 -0800)]
Fix deploy with docker stuff

8 years agoDeploy
Lorin Hochstein [Mon, 6 Feb 2017 05:00:35 +0000 (21:00 -0800)]
Deploy

8 years agoStart with Docker deploy script
Lorin Hochstein [Mon, 6 Feb 2017 04:54:24 +0000 (20:54 -0800)]
Start with Docker deploy script

8 years agoAdd vagrantfile and inventory
Lorin Hochstein [Mon, 6 Feb 2017 04:48:10 +0000 (20:48 -0800)]
Add vagrantfile and inventory

8 years agoVagrantfile
Lorin Hochstein [Mon, 6 Feb 2017 04:32:21 +0000 (20:32 -0800)]
Vagrantfile

8 years agoCreate a config.js
Lorin Hochstein [Sun, 5 Feb 2017 22:30:41 +0000 (14:30 -0800)]
Create a config.js

8 years agoCreate a local .gitignore
Lorin Hochstein [Sun, 5 Feb 2017 22:30:33 +0000 (14:30 -0800)]
Create a local .gitignore

8 years agoChange local to 8000
Lorin Hochstein [Sun, 5 Feb 2017 22:30:07 +0000 (14:30 -0800)]
Change local to 8000

8 years agoDefault config file'
Lorin Hochstein [Sun, 5 Feb 2017 22:18:49 +0000 (14:18 -0800)]
Default config file'

8 years agomount ghostdata
Lorin Hochstein [Sun, 5 Feb 2017 22:18:06 +0000 (14:18 -0800)]
mount ghostdata

8 years agoimage facts
Lorin Hochstein [Sun, 5 Feb 2017 22:03:01 +0000 (14:03 -0800)]
image facts

8 years agoadd local
Lorin Hochstein [Sun, 5 Feb 2017 21:41:58 +0000 (13:41 -0800)]
add local

8 years agoimage-facts
Lorin Hochstein [Sun, 5 Feb 2017 21:35:58 +0000 (13:35 -0800)]
image-facts

8 years agoadd publish-local
Lorin Hochstein [Sun, 5 Feb 2017 21:28:50 +0000 (13:28 -0800)]
add publish-local

8 years agoSupport for publishing to registry
Lorin Hochstein [Sun, 5 Feb 2017 05:04:09 +0000 (21:04 -0800)]
Support for publishing to registry

8 years agoPublish image
Lorin Hochstein [Sun, 5 Feb 2017 04:18:15 +0000 (20:18 -0800)]
Publish image

8 years agoservices
Lorin Hochstein [Sun, 5 Feb 2017 03:57:31 +0000 (19:57 -0800)]
services

8 years agodocker compose
Lorin Hochstein [Sun, 5 Feb 2017 03:44:21 +0000 (19:44 -0800)]
docker compose

8 years agoChange name
Lorin Hochstein [Sun, 5 Feb 2017 03:24:41 +0000 (19:24 -0800)]
Change name

8 years agoBuild nginx image
Lorin Hochstein [Sun, 5 Feb 2017 03:19:12 +0000 (19:19 -0800)]
Build nginx image

8 years agodockerfile for nginx
Lorin Hochstein [Sun, 5 Feb 2017 01:44:36 +0000 (17:44 -0800)]
dockerfile for nginx

8 years agoclear out old makefile stuff
Lorin Hochstein [Sun, 5 Feb 2017 01:15:31 +0000 (17:15 -0800)]
clear out old makefile stuff

8 years agoremove mezz example
Lorin Hochstein [Sun, 5 Feb 2017 01:14:45 +0000 (17:14 -0800)]
remove mezz example

8 years agoRemove ansible-container files
Lorin Hochstein [Sun, 5 Feb 2017 01:14:26 +0000 (17:14 -0800)]
Remove ansible-container files

8 years agoExpose port 443
Lorin Hochstein [Sun, 29 Jan 2017 05:39:40 +0000 (21:39 -0800)]
Expose port 443

8 years agoUpdate makefile
Lorin Hochstein [Sun, 29 Jan 2017 05:39:30 +0000 (21:39 -0800)]
Update makefile

8 years agoignore pgdata
Lorin Hochstein [Sun, 29 Jan 2017 05:31:15 +0000 (21:31 -0800)]
ignore pgdata

8 years agoVolume mount postgres
Lorin Hochstein [Sun, 29 Jan 2017 05:30:58 +0000 (21:30 -0800)]
Volume mount postgres

8 years agoMount certs as a volume
Lorin Hochstein [Sun, 29 Jan 2017 05:03:24 +0000 (21:03 -0800)]
Mount certs as a volume

8 years agoNicer awk
Lorin Hochstein [Sun, 29 Jan 2017 05:03:16 +0000 (21:03 -0800)]
Nicer awk

8 years agoAdd certs
Lorin Hochstein [Sat, 28 Jan 2017 18:05:46 +0000 (10:05 -0800)]
Add certs

8 years agoadd clean target
Lorin Hochstein [Sat, 28 Jan 2017 17:59:36 +0000 (09:59 -0800)]
add clean target

8 years agoadd command for nginx
Lorin Hochstein [Sat, 28 Jan 2017 06:35:37 +0000 (22:35 -0800)]
add command for nginx

8 years agoIgnore static subdirectory
Lorin Hochstein [Sat, 28 Jan 2017 05:56:44 +0000 (21:56 -0800)]
Ignore static subdirectory

This is generated as a volume

8 years agoAdd env vars and volumes
Lorin Hochstein [Sat, 28 Jan 2017 05:54:21 +0000 (21:54 -0800)]
Add env vars and volumes

8 years agoremove trailing commas
Lorin Hochstein [Fri, 27 Jan 2017 06:40:51 +0000 (22:40 -0800)]
remove trailing commas

8 years agosecret key, dependency
Lorin Hochstein [Fri, 27 Jan 2017 06:40:20 +0000 (22:40 -0800)]
secret key, dependency

8 years agoadd pip requirements.tt
Lorin Hochstein [Fri, 27 Jan 2017 06:07:17 +0000 (22:07 -0800)]
add pip requirements.tt

8 years agoport overrides, fix args to gunicorn
Lorin Hochstein [Fri, 27 Jan 2017 06:00:51 +0000 (22:00 -0800)]
port overrides, fix args to gunicorn

8 years agoadd missing sys
Lorin Hochstein [Fri, 27 Jan 2017 05:33:04 +0000 (21:33 -0800)]
add missing sys

8 years agoAdding dev overrides and defaults
Lorin Hochstein [Fri, 27 Jan 2017 05:28:15 +0000 (21:28 -0800)]
Adding dev overrides and defaults

8 years agoremove .hgignore
Lorin Hochstein [Fri, 27 Jan 2017 05:07:48 +0000 (21:07 -0800)]
remove .hgignore

8 years agovarious updates
Lorin Hochstein [Fri, 27 Jan 2017 04:53:41 +0000 (20:53 -0800)]
various updates

8 years agoadd apache license header
Lorin Hochstein [Fri, 27 Jan 2017 03:33:28 +0000 (19:33 -0800)]
add apache license header

8 years agoMore docker progress
Lorin Hochstein [Wed, 25 Jan 2017 06:22:46 +0000 (22:22 -0800)]
More docker progress

8 years agoInvoke gunicorn properly
Lorin Hochstein [Wed, 25 Jan 2017 05:07:44 +0000 (21:07 -0800)]
Invoke gunicorn properly

8 years agoAdd gunicorn command
Lorin Hochstein [Wed, 25 Jan 2017 04:54:50 +0000 (20:54 -0800)]
Add gunicorn command

8 years agoRun the actual server in the script
Lorin Hochstein [Tue, 24 Jan 2017 06:35:16 +0000 (22:35 -0800)]
Run the actual server in the script

8 years agoExpose port 8000
Lorin Hochstein [Tue, 24 Jan 2017 06:33:51 +0000 (22:33 -0800)]
Expose port 8000

8 years agoWait on postgres
Lorin Hochstein [Tue, 24 Jan 2017 06:33:07 +0000 (22:33 -0800)]
Wait on postgres

8 years agoSet perms to be executable for scripts
Lorin Hochstein [Tue, 24 Jan 2017 06:29:24 +0000 (22:29 -0800)]
Set perms to be executable for scripts

8 years agoadd wait_on_postgres.py
Lorin Hochstein [Tue, 24 Jan 2017 06:29:20 +0000 (22:29 -0800)]
add wait_on_postgres.py

8 years agoAdd scripts
Lorin Hochstein [Tue, 24 Jan 2017 06:24:58 +0000 (22:24 -0800)]
Add scripts

8 years agoAdd entrypoint
Lorin Hochstein [Tue, 24 Jan 2017 06:14:21 +0000 (22:14 -0800)]
Add entrypoint

8 years agoAdd Python scripts
Lorin Hochstein [Tue, 24 Jan 2017 06:00:44 +0000 (22:00 -0800)]
Add Python scripts

8 years agoUpdate middleware key prefix
Lorin Hochstein [Tue, 24 Jan 2017 06:00:01 +0000 (22:00 -0800)]
Update middleware key prefix

8 years agoAdd local_settings.py
Lorin Hochstein [Tue, 24 Jan 2017 05:56:03 +0000 (21:56 -0800)]
Add local_settings.py

8 years agoInstall rsync
Lorin Hochstein [Mon, 23 Jan 2017 05:41:08 +0000 (21:41 -0800)]
Install rsync

8 years agoAdd task to copy files
Lorin Hochstein [Mon, 23 Jan 2017 04:52:18 +0000 (20:52 -0800)]
Add task to copy files

8 years agoCommit of mezznaine example files
Lorin Hochstein [Mon, 23 Jan 2017 04:43:58 +0000 (20:43 -0800)]
Commit of mezznaine example files

8 years agostart mezzanine stuff
Lorin Hochstein [Mon, 23 Jan 2017 04:42:59 +0000 (20:42 -0800)]
start mezzanine stuff

8 years agotadd mezzanine to main.yml
Lorin Hochstein [Mon, 23 Jan 2017 04:35:42 +0000 (20:35 -0800)]
tadd mezzanine to main.yml

8 years agoInitial mezzanine roles
Lorin Hochstein [Mon, 23 Jan 2017 04:30:36 +0000 (20:30 -0800)]
Initial mezzanine roles

8 years agoAdd mezzanine to container.yml
Lorin Hochstein [Mon, 23 Jan 2017 04:30:20 +0000 (20:30 -0800)]
Add mezzanine to container.yml

8 years agoset up for nginx
Lorin Hochstein [Mon, 23 Jan 2017 04:12:24 +0000 (20:12 -0800)]
set up for nginx

8 years agoconfigure nginx with file
Lorin Hochstein [Mon, 23 Jan 2017 04:08:55 +0000 (20:08 -0800)]
configure nginx with file

8 years agoInitial nginx commit
Lorin Hochstein [Mon, 23 Jan 2017 04:08:13 +0000 (20:08 -0800)]
Initial nginx commit

8 years agoAdd pretasks
Lorin Hochstein [Mon, 23 Jan 2017 03:53:59 +0000 (19:53 -0800)]
Add pretasks

8 years agoupate main.yml
Lorin Hochstein [Mon, 23 Jan 2017 01:34:01 +0000 (17:34 -0800)]
upate main.yml

8 years agoInitial memcached task
Lorin Hochstein [Mon, 23 Jan 2017 01:15:17 +0000 (17:15 -0800)]
Initial memcached task

8 years agoSkeleton role for memcached
Lorin Hochstein [Mon, 23 Jan 2017 01:06:34 +0000 (17:06 -0800)]
Skeleton role for memcached

8 years agomemcached container
Lorin Hochstein [Mon, 23 Jan 2017 01:03:06 +0000 (17:03 -0800)]
memcached container

8 years agoInitial pristine ansible directory
Lorin Hochstein [Sun, 22 Jan 2017 06:14:09 +0000 (22:14 -0800)]
Initial pristine ansible directory

8 years agoremove existing content
Lorin Hochstein [Sun, 22 Jan 2017 05:33:58 +0000 (21:33 -0800)]
remove existing content

8 years agoWIP: checkpoint
Lorin Hochstein [Fri, 20 Jan 2017 04:41:35 +0000 (20:41 -0800)]
WIP: checkpoint

8 years agoWIP: checkpoint
Lorin Hochstein [Fri, 20 Jan 2017 04:15:00 +0000 (20:15 -0800)]
WIP: checkpoint

8 years agoMoving vars around
Lorin Hochstein [Mon, 16 Jan 2017 03:58:39 +0000 (19:58 -0800)]
Moving vars around

8 years agoMove vars to playbook
Lorin Hochstein [Mon, 16 Jan 2017 03:35:19 +0000 (19:35 -0800)]
Move vars to playbook

8 years agoDon't update apt cache on install from role
Lorin Hochstein [Mon, 16 Jan 2017 02:01:49 +0000 (18:01 -0800)]
Don't update apt cache on install from role

We always update the apt cache anyways.

8 years agoReplace ansible_env.HOME with ansible_root_dir
Lorin Hochstein [Mon, 16 Jan 2017 01:57:46 +0000 (17:57 -0800)]
Replace ansible_env.HOME with ansible_root_dir

8 years agoremove files we won't use
Lorin Hochstein [Mon, 16 Jan 2017 01:55:06 +0000 (17:55 -0800)]
remove files we won't use

8 years agoRemove become: True
Lorin Hochstein [Mon, 16 Jan 2017 01:47:36 +0000 (17:47 -0800)]
Remove become: True

the xenial docker image doesn't have sudo, so become doesn't work. It runs as
root, so no need for it

8 years agoWIP: comment out all non-mezz images
Lorin Hochstein [Mon, 16 Jan 2017 01:45:59 +0000 (17:45 -0800)]
WIP: comment out all non-mezz images