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:
Kazuhiro MUSASHI 2022-07-18 10:57:33 +09:00
parent bf2336ee74
commit f7b2c6bad1
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ end
execute 'add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"' do
stable" -y' do
not_if 'which docker'
end