b6ad606bd2
The containers code use a code path for installing things which can all be done using existing CI tooling, let's use that rather than build our stuff from scratch. Change-Id: I1bcf5dfaac62666f48f7cce70d53244814b0b7db
26 lines
486 B
YAML
26 lines
486 B
YAML
---
|
|
- hosts: all
|
|
roles:
|
|
- configure-swap
|
|
- install-docker
|
|
tasks:
|
|
- name: Create logging folders
|
|
file:
|
|
path: "/tmp/logs/{{ item }}"
|
|
state: directory
|
|
with_items:
|
|
- ansible
|
|
- build
|
|
|
|
- name: Link logs output folder
|
|
file:
|
|
src: /tmp/logs
|
|
dest: "{{ zuul.project.src_dir }}/logs"
|
|
state: link
|
|
|
|
- name: Install dependencies
|
|
become: true
|
|
pip:
|
|
name: docker
|
|
state: present
|