diff --git a/roles/hmsdocker/tasks/main.yml b/roles/hmsdocker/tasks/main.yml index 2d1c9dd..0fa8eb4 100644 --- a/roles/hmsdocker/tasks/main.yml +++ b/roles/hmsdocker/tasks/main.yml @@ -108,7 +108,7 @@ # env_file: "{{ compose_env.dest }}" # Commented out since this module defaults to using the .env file within the project_src location, but leaving just in case advanced users wish to point to a different location when: - not ansible_check_mode - - not is_github_runner is defined and is_github_runner + - is_github_runner|default(false) - name: Sabnzbd additional config when: container_enabled_sabnzbd @@ -143,4 +143,4 @@ import_tasks: "transmission.yml" when: - container_enabled_transmission - - not is_github_runner is defined and is_github_runner + - is_github_runner|default(false)