Skip to content

Commit 2ffae73

Browse files
authored
Merge pull request #229 from Enforcer/review-chapter-11
Review of chapter 11
2 parents d9fe24f + 2e1719f commit 2ffae73

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

chapter_11_ansible.asciidoc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ We _could_ do all these things manually,
1717
but a key insight of the modern infrastructure management
1818
is that automation really pays off in reducing maintenance burdens.
1919

20+
// SEBASTIAN: IMO, above statement is not strong enough (my opinion)
21+
// I'd add something that software development nowadays is made in short cycles with frequent deployments
22+
// and automation is a MUST - the earlier one invests into it, the faster they can focus on doing what's
23+
// actually giving value.
24+
//
25+
// ALSO... to reassure readers - automating anything requires deep understanding, so they will not miss anything.
26+
// Perhaps this is even more important. When I first read this, I was like "ohhh, I'm gonna miss some fun!"
27+
2028
It's also key to making sure our tests give us true confidence over our deployments.
2129
If we go to the trouble of building a staging server,footnote:[
2230
What I'm calling a "staging" server, some people would
@@ -152,6 +160,7 @@ They're unlikely to ever go away,
152160
and knowing a bit about them will get you some respect
153161
from all the grizzled dinosaurs out there.
154162

163+
// SEBASTIAN: Nice, and seem-to-be timeless choice!
155164

156165

157166
==== Spinning Up a Server
@@ -908,6 +917,11 @@ but I wanted to keep this (already long) chapter as simple as possible.
908917
*******************************************************************************
909918

910919

920+
// SEBASTIAN: I feel the above section would make more sense if it was mentioned waaay earlier.
921+
// I must say I got lost while reading about Chef, Puppet and suddenly I see some Ansible examples
922+
// without any explanation how Ansible works, any diagrams etc.
923+
// I'd also appreciate seeing some example of SSH first as this is a prerequisite to
924+
// using Ansible. Currently, there are too many "open loops" and I think this chapter is hard to follow.
911925

912926
Let's run the latest version of our playbook and see how our tests get on:
913927

@@ -971,6 +985,8 @@ selenium.common.exceptions.WebDriverException: Message: Reached error page:
971985
about:neterror?e=connectionFailure&u=http%3A//staging.ottg.co.uk/[...]
972986
----
973987

988+
// SEBASTIAN: It's awesome that by this moment by using `TEST_SERVER` one is able to run tests against "staging". Just wow!
989+
974990

975991
That `neterror` makes me think it's another networking problem.
976992

@@ -1397,9 +1413,15 @@ which are a fairly typical set of steps for deployment in general
13971413
and looking into techniques like red-green deployments.
13981414
// CSANAD: we haven't mentioned the downtime so far
13991415
1416+
// SEBASTIAN: Is red-green deployment a thing? I must admit it's the first time
1417+
// I see the name and so far I've only know blue-green. I also read there's red-black deployment,
1418+
// but am I looking for this wrong, so I cannot find anything about red-green? 🤔
1419+
14001420
// TODO is there a better word than "switching across"?
14011421
// CSANAD: I can only think of "releasing" or "deploying"
14021422
1423+
// SEBASTIAN: How about simply "updating" or "changing"?
1424+
14031425
Every single aspect of deployment can and probably should be automated.
14041426
Here are a couple of general principles to think about
14051427
when implementing infrastructure-as-code:
@@ -1415,5 +1437,6 @@ Declarative::
14151437
rather than _how_ we should get there.
14161438
This goes hand-in-hand with the idea of idempotence above.
14171439
1440+
// SEBASTIAN: Okay, this summary is goldie 👌
14181441
14191442
*******************************************************************************

0 commit comments

Comments
 (0)