summaryrefslogtreecommitdiff
path: root/ep_cloud.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ep_cloud.yml')
-rw-r--r--ep_cloud.yml39
1 files changed, 37 insertions, 2 deletions
diff --git a/ep_cloud.yml b/ep_cloud.yml
index f276eb2..a0f8b69 100644
--- a/ep_cloud.yml
+++ b/ep_cloud.yml
@@ -11,9 +11,44 @@
path: /usr/bin/python3
link: /usr/bin/python
- - name: Install GIT
+ - name: Ensure initial prerequisites
become: yes
apt:
- name: git
+ update_cache: yes
+ pkg:
+ - git
+ - apt-transport-https
+ - ca-certificates
+ - curl
+ - software-properties-common
+ - python3-pip
+ - virtualenv
+ - python3-setuptools
+
+ - name: Add Docker GPG key
+ become: yes
+ apt_key:
+ url: https://download.docker.com/linux/debian/gpg
+ state: present
+
+ - name: Add Docker repository
+ become: yes
+ apt_repository:
+ repo: deb https://download.docker.com/linux/debian buster stable
state: present
+
+ - name: Install Docker
+ become: yes
+ apt:
update_cache: yes
+ pkg:
+ - docker-ce
+ - docker-ce-cli
+ - containerd.io
+
+ - name: Ensure Docker service is enabled
+ become: yes
+ ansible.builtin.systemd:
+ name: docker
+ state: started
+ enabled: yes