From c5fb4176f03e35e329f0713f52f2c325a2f2331e Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Mon, 6 Feb 2017 21:57:09 -0800 Subject: [PATCH] simplify deploy for debugging --- ch13/Makefile | 7 ++----- ch13/build.yml | 3 ++- 2 files changed, 4 insertions(+), 6 deletions(-) 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 -- 2.44.0