19 lines
440 B
YAML
19 lines
440 B
YAML
|
- name: Build image
|
||
|
hosts: all
|
||
|
vars_files:
|
||
|
- vars/main.yml
|
||
|
gather_facts: false
|
||
|
tasks:
|
||
|
- name: Build image
|
||
|
ansible.builtin.include_role:
|
||
|
name: role_build_container_image
|
||
|
vars:
|
||
|
image: "{{ item }}"
|
||
|
with_items:
|
||
|
- repo_url: "{{ HTTPS_REPO_URL }}"
|
||
|
repo_name: "{{ REPO_NAME }}"
|
||
|
name: "{{ IMAGE_NAME }}"
|
||
|
result_var: build_result
|
||
|
|
||
|
- debug: var=build_result
|