Skip to content

Commit 8f1a97f

Browse files
committed
start on 17/18
1 parent 8e3576e commit 8f1a97f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

chapter_11_ansible.asciidoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,10 @@ In Ansible config, it looks like this:
642642
----
643643
====
644644

645+
NOTE: Colima users on MacOS may need to set an env var to get the ansible-docker
646+
integration to work in the "Export container image locally" stage:
647+
`DOCKER_HOST=unix:///$HOME/.colima/default/docker.sock`
648+
645649
// CSANAD: I would add `update_cache: true` to the `Install docker` task back,
646650
// it's a good practice to update the apt cache before installing.
647651
//

chapter_17_second_deploy.asciidoc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Deploying Our New Code
33
----------------------
44

5-
((("deployment", "procedure for", id="Dpro17")))It's
6-
time to deploy our brilliant new validation code to our live servers.
5+
((("deployment", "procedure for", id="Dpro17")))
6+
It's time to deploy our brilliant new validation code to our live servers.
77
This will be a chance to see our automated deploy scripts in action for the
88
second time.
99

@@ -35,9 +35,7 @@ We start with the staging server:
3535
[role="against-server"]
3636
[subs="specialcharacters,macros"]
3737
----
38-
$ pass:quotes[*git push*]
39-
$ pass:quotes[*cd deploy_tools*]
40-
$ pass:quotes[*fab deploy:[email protected]*]
38+
$ pass:quotes[*ansible-playbook --user=elspeth -i staging.ottg.co.uk, infra/ansible-provision.yaml -vv*]
4139
[...]
4240
Disconnecting from staging.ottg.co.uk... done.
4341
----

0 commit comments

Comments
 (0)