magnum/playbooks/container-builder-setup-gate.yaml
Bharat Kunwar b3936451cd [ci] Fix gate by installing python3-docker
Change-Id: I34be042f7e664af69fd2892b0aa6a107fe017daf
2020-06-30 13:03:24 +00:00

26 lines
499 B
YAML

---
- hosts: all
roles:
- configure-swap
- ensure-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 python3-docker
become: true
package:
name: python3-docker
state: present