git://git.halfball.org
/
ansiblebook.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89fefca
)
Start with Docker deploy script
author
Lorin Hochstein
<lhochstein@netflix.com>
Mon, 6 Feb 2017 04:54:24 +0000
(20:54 -0800)
committer
Lorin Hochstein
<lhochstein@netflix.com>
Mon, 6 Feb 2017 04:54:24 +0000
(20:54 -0800)
ch13/deploy.yml
[new file with mode: 0644]
patch
|
blob
diff --git a/ch13/deploy.yml
b/ch13/deploy.yml
new file mode 100644
(file)
index 0000000..
ab06a33
--- /dev/null
+++ b/
ch13/deploy.yml
@@ -0,0
+1,15
@@
+- name: install Docker
+ hosts: all
+ become: True
+ tasks:
+ - name: install packages
+ apt: name={{ item }} update_cache=yes cache_valid_time=3600
+ with_items:
+ - apt-transport-https
+ - ca-certificates
+ - curl
+ - linux-image-extra-virtual-{{ ansible_kernel }}
+ - linux-image-extra-virtual
+
+
+