Update 'roles/docker/tasks/centos.yml'
This commit is contained in:
parent
fa98d62050
commit
c3a723a2a4
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue