commit | author | age | ||
349f7a | 1 | --- |
GC | 2 | - name: Ensure mandatory variables are set |
3 | loop: | |
4 | - guid | |
5 | - env_type | |
6 | - pool_region | |
7 | - pool_manager_aws_access_key_id | |
8 | - pool_manager_aws_secret_access_key | |
7ac9ff | 9 | - pool_manager_vault_password |
349f7a | 10 | fail: |
GC | 11 | msg: "Variable {{ item }} is not defined" |
12 | when: item not in vars or vars[item] == '' | |
13 | ||
14 | ||
15 | - fail: | |
16 | msg: "email and student_name are both undefined." | |
17 | when: | |
18 | - email is undefined | |
19 | - student_name is undefined |