Skip to content

Commit

Permalink
Don't prevent docker from being upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
p-j-smith committed Nov 28, 2024
1 parent a0b9763 commit c8a25cf
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,6 @@
- docker-buildx-plugin
- docker-compose-plugin

- name: Ensure yum-plugin-versionlock is installed
ansible.builtin.yum:
name: yum-plugin-versionlock
state: installed

- name: Prevent docker from being updated
community.general.yum_versionlock:
state: "{{ 'absent' if docker_version == 'latest' else 'present' }}"
name:
- docker-ce
- docker-ce-cli

- name: Ensure docker service directory exists
ansible.builtin.file:
path: "{{ docker_service_directory }}"
Expand Down

0 comments on commit c8a25cf

Please sign in to comment.