Update 'roles/docker/tasks/amazon.yml'

This commit is contained in:
panda 2022-11-04 01:12:31 +01:00
parent c3a723a2a4
commit 8907fbdcf3

View file

@ -6,10 +6,10 @@
- docker
- name: download compose
shell: curl -s https://api.github.com/repos/docker/compose/releases/latest | grep browser_download_url | grep docker-compose-linux-x86_64 | grep -v sha256 | cut -d '"' -f 4 | wget -O /usr/local/bin/docker-compose -qi -
shell: curl -s https://api.github.com/repos/docker/compose/releases/latest | grep browser_download_url | grep docker-compose-linux-x86_64 | grep -v sha256 | cut -d '"' -f 4 | wget -O /usr/local/sbin/docker-compose -qi -
- name: make compose executable
shell: chmod +x /usr/local/bin/docker-compose
shell: chmod +x /usr/local/sbin/docker-compose
- name: Reload docker and enable it onboot
ansible.builtin.service: