File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
roles/aws/aws_backup_validation/tasks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 70
70
tags :
71
71
Name : " {{ item.name }}"
72
72
loop : " {{ aws_backup_validation.resources }}"
73
- when : item.git_url is not defined or not item.git_url
73
+ when : item.git_url is not defined
74
74
75
75
- name : Create Lambda functions from git url.
76
76
ansible.builtin.include_role :
82
82
timeout : " {{ aws_backup_validation.timeout }}"
83
83
role : " {{ aws_iam_role._result[item.name + '_lambda'] }}"
84
84
runtime : " {{ aws_backup_validation.runtime }}"
85
- function_file :
" [email protected] :functions/ {{ item.name }}.git "
85
+ function_file : " {{ item.git_url }}"
86
86
s3_bucket : " {{ aws_backup_validation.s3_bucket }}"
87
87
s3_bucket_prefix : " lambda-functions"
88
88
tags :
89
89
Name : " {{ item.name }}"
90
90
loop : " {{ aws_backup_validation.resources }}"
91
- when : item.git_url is defined and item.git_url
91
+ when : item.git_url is defined
92
92
93
93
- name : Create an IAM Managed Policy for passing roles and setup IAM role.
94
94
ansible.builtin.include_role :
You can’t perform that action at this time.
0 commit comments