magnum/playbooks/container-builder-setup-gate.yaml
Mohammed Naser b6ad606bd2 containers: clean-up build code
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
2018-12-18 19:47:56 -05:00

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