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.
 
 
 
 
 

27 lines
980 B

- hosts: all
tasks:
- include_vars: container-builder-vars.yaml
- name: "Build magnum images"
block:
- name: "Build {{ magnum_repository }}/{{ item.name }}:{{ item.tag }} image"
docker_image:
path: "{{ magnum_src_dir }}/dockerfiles/{{ item.name }}"
name: "{{ magnum_repository }}/{{ item.name }}"
tag: "{{ item.tag }}"
push: no
with_items: "{{ magnum_images }}"
retries: 10
- name: "Build kubernetes images"
block:
- name: "Build {{ magnum_repository }}/{{ item.name }}:{{ item.tag }} image"
docker_image:
path: "{{ magnum_src_dir }}/dockerfiles/{{ item.name }}"
name: "{{ magnum_repository }}/{{ item.name }}"
tag: "{{ kubernetes_version }}"
buildargs:
KUBE_VERSION: "{{ kubernetes_version }}"
push: no
with_items: "{{ kubernetes_images }}"
retries: 10