Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ansible/playbooks/saas/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@
- name: Debug latest version
ansible.builtin.debug:
msg: "{{ image_version }}"
verbosity: 1

- name: Build
when: image_build
block:
- name: Build and publish image
community.docker.docker_image_build:
name: "{{ docker_private_registry.url }}/{{ docker_private_registry.project is defined | ternary(docker_private_registry.project + '/', '') }}{{ image_name }}:{{ image_version }}"
name: "{{ docker_private_registry.url }}/{% if docker_private_registry.project is defined %}{{ docker_private_registry.project }}/{% endif %}{{ image_name }}:{{ image_version }}"
tag: latest
path: "/tmp/{{ catalog }}"
dockerfile: Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/saas/operate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
pre_tasks:
- name: Get software variables
ansible.builtin.set_fact:
software: "{{ lookup('simple-stack-ui', type='software', key=domain, subkey='', missing='warn') }}"
software: "{{ lookup('simple-stack-ui', type='software', key=domain, subkey='', missing='warn') | from_json }}"

- debug:
msg: "{{ software }}"
Expand Down