Add `-y` option flag to `add-apt-repository`
Due to the behaviour change, need to add `-y` option for `add-apt-repository` command to operate without human interactions.
This commit is contained in:
parent
bf2336ee74
commit
f7b2c6bad1
|
@ -11,7 +11,7 @@ end
|
||||||
execute 'add-apt-repository \
|
execute 'add-apt-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"' do
|
stable" -y' do
|
||||||
not_if 'which docker'
|
not_if 'which docker'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue