From: Lorin Hochstein Date: Tue, 7 Feb 2017 05:57:09 +0000 (-0800) Subject: simplify deploy for debugging X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=c5fb4176f03e35e329f0713f52f2c325a2f2331e;p=ansiblebook.git simplify deploy for debugging --- diff --git a/ch13/Makefile b/ch13/Makefile index 797a362..e6e7f6b 100644 --- a/ch13/Makefile +++ b/ch13/Makefile @@ -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 diff --git a/ch13/build.yml b/ch13/build.yml index 655f3bd..b756b2d 100644 --- a/ch13/build.yml +++ b/ch13/build.yml @@ -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