From: Lorin Hochstein Date: Mon, 6 Feb 2017 04:54:24 +0000 (-0800) Subject: Start with Docker deploy script X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=c889e03b598abc68a64423720b691f008ef14542;p=ansiblebook.git Start with Docker deploy script --- diff --git a/ch13/deploy.yml b/ch13/deploy.yml new file mode 100644 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 + + +