diff --git a/roles/docker/tasks/centos.yml b/roles/docker/tasks/centos.yml index ba8a99a..9717949 100644 --- a/roles/docker/tasks/centos.yml +++ b/roles/docker/tasks/centos.yml @@ -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: