b3936451cd
Change-Id: I34be042f7e664af69fd2892b0aa6a107fe017daf
26 lines
499 B
YAML
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
|