From 15b9dd798c81e0c11242decc4ae0826544ea3da4 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Sat, 4 Feb 2017 19:57:31 -0800 Subject: [PATCH] services --- ch13/ghost.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ch13/ghost.yml b/ch13/ghost.yml index 8b420f4..ec93e35 100644 --- a/ch13/ghost.yml +++ b/ch13/ghost.yml @@ -7,3 +7,13 @@ docker_image: name: nginx-ghost path: nginx + - name: create certs + command: > + openssl req -new -x509 -nodes + -out certs/nginx.crt -keyout certs/nginx.key + -subj '/CN=localhost' -days 3650 + creates=certs/nginx.crt + - name: bring up services + docker_service: + project_src: . + state: present -- 2.44.0