Remove disable-recommends in quick-start test
This test is trying to test a user process on a typical VM/workstation so make sure that apt behaves in the default manner and installs recommended packages (such as docker itself). Change-Id: I62b1367f9d4311deedf16176fa3f97cf0b3a74f1
This commit is contained in:
parent
1bd3fe9075
commit
20b2c01e99
|
@ -2,10 +2,17 @@
|
||||||
vars:
|
vars:
|
||||||
workspace: /tmp/quickstart-test
|
workspace: /tmp/quickstart-test
|
||||||
tasks:
|
tasks:
|
||||||
|
# Our test images disable installation of recommended packages;
|
||||||
|
# re-enable that (the default) to make this test more closely
|
||||||
|
# resemble what a user will encounter.
|
||||||
|
- name: Remove disable-recommends
|
||||||
|
file:
|
||||||
|
name: /etc/apt/apt.conf.d/95disable-recommends
|
||||||
|
state: absent
|
||||||
|
become: true
|
||||||
- name: Install docker-compose and git-review
|
- name: Install docker-compose and git-review
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- docker.io # See note [1]
|
|
||||||
- docker-compose
|
- docker-compose
|
||||||
- git-review
|
- git-review
|
||||||
state: present
|
state: present
|
||||||
|
@ -43,7 +50,3 @@
|
||||||
cmd: |
|
cmd: |
|
||||||
{{ ssh_agent.stdout }}
|
{{ ssh_agent.stdout }}
|
||||||
ssh-agent -k
|
ssh-agent -k
|
||||||
|
|
||||||
# [1]: docker.io is a recommended package and is therefore typically
|
|
||||||
# automatically installed, however our test images disable this
|
|
||||||
# behavior, so it is listed explicitly here.
|
|
||||||
|
|
Loading…
Reference in New Issue