diff options
author | Dan Fedele <dan.fedele@gmail.com> | 2023-08-09 10:55:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 10:55:15 -0400 |
commit | 80cb7147768598e42575868a4662db85717ae95e (patch) | |
tree | e5a90cb2f403163670b30f39c9cf4ad9064031db | |
parent | b8e08d78024e53ecbb00267623a5aea73e6b538d (diff) | |
parent | fe2dec8976539985daa03bc1cbc0dcba2cbdac85 (diff) |
Merge pull request #6 from jessefmoore/master
Update main.yml, docker changes
-rw-r--r-- | roles/package-mgmt/tasks/main.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/roles/package-mgmt/tasks/main.yml b/roles/package-mgmt/tasks/main.yml index ca5381e..c68f088 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 @@ -33,7 +49,6 @@ - curl - default-jdk - default-jre - - docker - docker-compose - eog - feroxbuster |