File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,5 @@ bind_paths: []
1212# go variables
1313only_one_go_version : false
1414golang_gopath : /opt/go/packages
15+
16+ singularity_role_debug : false
Original file line number Diff line number Diff line change 9797- name : singularity | display singularity installed version
9898 debug :
9999 var : singularity_installed_version
100+ when : singularity_role_debug
100101
101102- name : singularity | compile the Singularity binary | mconfig
102103 command : ./mconfig
122123 - not ansible_check_mode
123124 - singularity_installed_version.rc == 1
124125
125- # - name: singularity | debug make
126- # debug:
127- # var: singularity_make
126+ - name : singularity | debug make
127+ debug :
128+ var : singularity_make
129+ when : singularity_role_debug
128130
129131- name : singularity | compile the Singularity binary | make install
130132 make :
139141 - not ansible_check_mode
140142 - singularity_installed_version.rc == 1
141143
142- # - name: singularity | debug make install
143- # debug:
144- # var: singularity_make_install
144+ - name : singularity | debug make install
145+ debug :
146+ var : singularity_make_install
147+ when : singularity_role_debug
145148
146149- name : singularity | check singularity installed version
147150 command : ' singularity --version | grep "{{ singularity_version }}"'
154157- name : singularity | display singularity installed version
155158 debug :
156159 var : singularity_installed_version
160+ when : singularity_role_debug
157161
158162- name : singularity | config bind bind_path
159163 lineinfile :
You can’t perform that action at this time.
0 commit comments