summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fedele <dan.fedele@gmail.com>2023-11-02 11:53:43 -0400
committerGitHub <noreply@github.com>2023-11-02 11:53:43 -0400
commitc00e983294437c31d225fb052659a979502a7e77 (patch)
treedf67c4bb5aa0cb14b9173f91b83c80410fa777dd
parent72d7aa1668f913092a873f16b847c7ba2303ca2a (diff)
parent80cb7147768598e42575868a4662db85717ae95e (diff)
Merge branch 'master' into dev
-rw-r--r--roles/package-mgmt/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/package-mgmt/tasks/main.yml b/roles/package-mgmt/tasks/main.yml
index 8f10d7f..007bf52 100644
--- a/roles/package-mgmt/tasks/main.yml
+++ b/roles/package-mgmt/tasks/main.yml
@@ -7,6 +7,22 @@
ansible.builtin.apt_repository:
repo: "{{ docker_repo }}"
state: present
+
+- name: Update apt and install docker-ce
+ apt:
+ name: docker-ce
+ state: latest
+ update_cache: true
+
+- name: Install Docker Module for Python
+ pip:
+ name: docker
+
+- name: Starting docker service
+ service:
+ name: docker
+ state: started
+ enabled: yes
- name: Add Sublime Text repo key
ansible.builtin.shell: curl -fsSL {{ sublime_repo_key }} | gpg --dearmor --batch --yes -o /etc/apt/trusted.gpg.d/sublime-text-keyring.gpg