Skip to content

Commit acfd6a1

Browse files
committed
cast the conditional in playbook to bool
1 parent c978681 commit acfd6a1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ohpc-build.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
- { name: 'pre_ohpc', tags: 'pre_ohpc' }
55
- { name: 'ohpc_install', tags: 'ohpc_install' }
66
- { name: 'ohpc_config_build', tags: 'ohpc_config' }
7-
- { name: 'ohpc_add_easybuild', tags: 'ohpc_add_easybuild', when: easybuild_provision }
8-
- { name: 'ohpc_jupyter', tags: 'ohpc_jupyter', when: jupyter_provision}
9-
- { name: 'ohpc_matlab', tags: 'ohpc_matlab', when: matlab_provision }
10-
- { name: 'ohpc_sas', tags: 'ohpc_sas', when: sas_provision }
11-
- { name: 'ohpc_rabbitmq', tags: 'ohpc_rabbitmq', when: enable_user_reg }
12-
- { name: 'ohpc_add_rstudio', tags: 'ohpc_add_rstudio', when: rstudio_provision }
13-
- { name: 'ohpc_user_reg', tags: 'ohpc_user_reg', when: enable_user_reg }
14-
- { name: 'ohpc_add_rabbitmq_agents', tags: 'ohpc_add_rabbitmq_agents', when: enable_user_reg }
7+
- { name: 'ohpc_add_easybuild', tags: 'ohpc_add_easybuild', when: easybuild_provision | bool }
8+
- { name: 'ohpc_jupyter', tags: 'ohpc_jupyter', when: jupyter_provision | bool }
9+
- { name: 'ohpc_matlab', tags: 'ohpc_matlab', when: matlab_provision | bool }
10+
- { name: 'ohpc_sas', tags: 'ohpc_sas', when: sas_provision | bool }
11+
- { name: 'ohpc_rabbitmq', tags: 'ohpc_rabbitmq', when: enable_user_reg | bool }
12+
- { name: 'ohpc_add_rstudio', tags: 'ohpc_add_rstudio', when: rstudio_provision | bool }
13+
- { name: 'ohpc_user_reg', tags: 'ohpc_user_reg', when: enable_user_reg | bool }
14+
- { name: 'ohpc_add_rabbitmq_agents', tags: 'ohpc_add_rabbitmq_agents', when: enable_user_reg | bool }

0 commit comments

Comments
 (0)