Skip to content

Commit

Permalink
updated playbook for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Areso committed Mar 13, 2024
1 parent f09d075 commit aad963b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions automation/roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
- purge_docker
- purge

- name: show_target_OS_family
debug:
msg: "{{ ansible_distribution }}"

- name: update_info_about_packages_versions
shell: "apt update"
become: True
when: ansible_distribution == "Ubuntu"

- name: install_dependencies
package:
name:
Expand Down Expand Up @@ -51,7 +60,8 @@
- docker-ce
- docker-ce-cli
- containerd.io
state: present
#state: present
state: latest
become: True
tags:
- docker_install
- docker_install

0 comments on commit aad963b

Please sign in to comment.