simplify deploy for debugging
authorLorin Hochstein <lhochstein@netflix.com>
Tue, 7 Feb 2017 05:57:09 +0000 (21:57 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Tue, 7 Feb 2017 05:57:09 +0000 (21:57 -0800)
ch13/Makefile
ch13/build.yml

index 797a362..e6e7f6b 100644 (file)
@@ -1,10 +1,7 @@
-.PHONY: start publish build local facts deploy ghost
-
-ghost:
-       ansible-playbook deploy.yml -l ghost
+.PHONY: start publish build local facts deploy
 
 deploy:
-       ansible-playbook deploy.yml
+       ansible-playbook deploy.yml -l ghost --start-at-task 'create network'
 
 facts:
        ansible-playbook image-facts.yml
index 655f3bd..b756b2d 100644 (file)
@@ -1,5 +1,5 @@
 ---
-- name: Run Ghost locally
+- name: Create Nginx image
   hosts: localhost
   gather_facts: False
   tasks:
@@ -7,3 +7,4 @@
       docker_image:
         name: ansiblebook/nginx-ghost
         path: nginx
+        force: yes