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

This commit is contained in:
panda 2022-11-04 01:12:15 +01:00
parent fa98d62050
commit c3a723a2a4

View file

@ -34,10 +34,10 @@
- docker-ce-cli
- 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: