Container Infrastructure Management Service for OpenStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
magnum/playbooks/container-builder-setup-gat...

25 lines
486 B

---
- 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