Merge "zuul: Remove sudo from install-docker playbook"
This commit is contained in:
commit
760a4df135
|
@ -18,13 +18,14 @@
|
||||||
shell: |
|
shell: |
|
||||||
set -xe;
|
set -xe;
|
||||||
|
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
||||||
sudo apt-add-repository \
|
apt-add-repository \
|
||||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||||
$(lsb_release -cs) \
|
$(lsb_release -cs) \
|
||||||
stable"
|
stable"
|
||||||
|
|
||||||
sudo apt-get update
|
apt-get update
|
||||||
sudo apt-get install --no-install-recommends -y docker-ce
|
apt-get install --no-install-recommends -y docker-ce
|
||||||
args:
|
args:
|
||||||
chdir: "{{ zuul.project.src_dir }}"
|
chdir: "{{ zuul.project.src_dir }}"
|
||||||
|
become: yes
|
||||||
|
|
Loading…
Reference in New Issue