Skip to content

Commit a4598bd

Browse files
committed
fixes in 11 suggested by csanad
1 parent 0f941bd commit a4598bd

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

chapter_11_ansible.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -655,21 +655,21 @@ It's a common tool in Ansible scripts, and the syntax is very similar to Django'
655655
Here's what our template for the env file will looks like:
656656

657657
[role="sourcecode"]
658-
.infra/env.j2 (ch11l003)
658+
.infra/env.j2 (ch11l004)
659659
====
660660
[source,python]
661661
----
662662
DJANGO_DEBUG_FALSE=1
663-
DJANGO_SECRET_KEY="{{ secret_key }}"
664-
DJANGO_ALLOWED_HOST="{{ host }}"
663+
DJANGO_SECRET_KEY={{ secret_key }}
664+
DJANGO_ALLOWED_HOST={{ host }}
665665
----
666666
====
667667

668668
And here's how we use it in the provisioning script:
669669

670670

671671
[role="sourcecode small-code"]
672-
.infra/ansible-provision.yaml (ch11l004)
672+
.infra/ansible-provision.yaml (ch11l005)
673673
====
674674
[source,yaml]
675675
----
@@ -859,7 +859,7 @@ We want to expose port 8888 inside the container as port 80 (the default web/htt
859859
on the server:
860860

861861
[role="sourcecode"]
862-
.infra/ansible-provision.yaml (ch11l005)
862+
.infra/ansible-provision.yaml (ch11l006)
863863
====
864864
[source,yaml]
865865
----
@@ -917,7 +917,7 @@ skipped=0 rescued=0 ignored=0
917917
Here's how
918918

919919
[role="sourcecode"]
920-
.infra/ansible-provision.yaml (ch11l006)
920+
.infra/ansible-provision.yaml (ch11l007)
921921
====
922922
[source,python]
923923
----

source/push-back.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ CHAP=$1
55

66
cd "$CHAP/superlists"
77
git push --force-with-lease local "$CHAP"
8-
# git fpush origin $CHAP
8+
git push --force-with-lease origin "$CHAP"
99

1010
cd ../..

0 commit comments

Comments
 (0)