Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
atao authored Feb 2, 2024
1 parent 77659e7 commit c950725
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
ansible.builtin.get_url:
url: https://get.docker.com
dest: get-docker.sh
when: stat_result.stat.exists
when: not stat_result.stat.exists

- name: Run install script
ansible.builtin.command:
argv:
- sh
- get-docker.sh
when: stat_result.stat.exists
when: not stat_result.stat.exists

- name: Verify docker installation
command: docker -v
Expand Down

0 comments on commit c950725

Please sign in to comment.