Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
Open
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
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@

- name: "Schedule build and sync"
include_tasks: schedule_build_and_sync.yml
when: (tests_is_container is defined) | ternary(not tests_is_container, ansible_env.container is undefined)
when: ((not tests_is_container) if tests_is_container is defined else (ansible_env.container is undefined))

- name: "Build now (container)"
include_tasks: build.yml
when: ((tests_is_container is defined) | ternary(tests_is_container, ansible_env.container is defined)) and builder_container_build_now|bool
when: (tests_is_container if tests_is_container is defined else (ansible_env.container is defined)) and builder_container_build_now|bool