git://git.halfball.org
/
ansiblebook.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e406c64
)
services
author
Lorin Hochstein
<lhochstein@netflix.com>
Sun, 5 Feb 2017 03:57:31 +0000
(19:57 -0800)
committer
Lorin Hochstein
<lhochstein@netflix.com>
Sun, 5 Feb 2017 03:57:31 +0000
(19:57 -0800)
ch13/ghost.yml
patch
|
blob
|
history
diff --git
a/ch13/ghost.yml
b/ch13/ghost.yml
index
8b420f4
..
ec93e35
100644
(file)
--- 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