Showing
1 changed file
with
2 additions
and
0 deletions
@@ -5,5 +5,7 @@ | @@ -5,5 +5,7 @@ | ||
5 | secretkey: secretkey | 5 | secretkey: secretkey |
6 | module: testsearch_to_az2 | 6 | module: testsearch_to_az2 |
7 | tasks: | 7 | tasks: |
8 | + - fail: msg="module is not defined'" | ||
9 | + when: module is not defined | ||
8 | - name: Execute module "{{ module }}" | 10 | - name: Execute module "{{ module }}" |
9 | shell: cd ../scripts/lb_manager/; python lb_switch.py --secretid="{{ secretid }}" --secretkey="{{ secretkey }}" --module="{{ module }}" | 11 | shell: cd ../scripts/lb_manager/; python lb_switch.py --secretid="{{ secretid }}" --secretkey="{{ secretkey }}" --module="{{ module }}" |
-
Please register or login to post a comment