diff --git a/docs/roles/aws/aws_acl.md b/docs/roles/aws/aws_acl.md index 71080d902..f802c46a2 100644 --- a/docs/roles/aws/aws_acl.md +++ b/docs/roles/aws/aws_acl.md @@ -14,7 +14,7 @@ aws_acl: scope: CLOUDFRONT # Can be REGIONAL for ALBs region: "us-east-1" tags: "{{ _aws_tags }}" - recreate: false + recreate: false # set to true to creating the ACL rules: rate_limit: value: 600 # set to 0 to skip rate limit rule, set to a value to set how many requests to allow in period before blocking diff --git a/roles/aws/aws_acl/README.md b/roles/aws/aws_acl/README.md index 71080d902..f802c46a2 100644 --- a/roles/aws/aws_acl/README.md +++ b/roles/aws/aws_acl/README.md @@ -14,7 +14,7 @@ aws_acl: scope: CLOUDFRONT # Can be REGIONAL for ALBs region: "us-east-1" tags: "{{ _aws_tags }}" - recreate: false + recreate: false # set to true to creating the ACL rules: rate_limit: value: 600 # set to 0 to skip rate limit rule, set to a value to set how many requests to allow in period before blocking diff --git a/roles/aws/aws_acl/defaults/main.yml b/roles/aws/aws_acl/defaults/main.yml index 166e36699..2757cffc6 100644 --- a/roles/aws/aws_acl/defaults/main.yml +++ b/roles/aws/aws_acl/defaults/main.yml @@ -5,7 +5,7 @@ aws_acl: scope: CLOUDFRONT # Can be REGIONAL for ALBs region: "us-east-1" tags: "{{ _aws_tags }}" - recreate: false + recreate: false # set to true to creating the ACL rules: rate_limit: value: 600 # set to 0 to skip rate limit rule, set to a value to set how many requests to allow in period before blocking diff --git a/roles/aws/aws_backup_validation/tasks/main.yml b/roles/aws/aws_backup_validation/tasks/main.yml index ecb9f5828..873524ada 100644 --- a/roles/aws/aws_backup_validation/tasks/main.yml +++ b/roles/aws/aws_backup_validation/tasks/main.yml @@ -92,6 +92,7 @@ tags: Name: "{{ item }}_backup_validation" register: _lambda_functions + failed_when: result.rc != 0 loop: "{{ aws_backup_validation.resources }}" - name: Create validation report functions @@ -106,6 +107,7 @@ role: "{{ _created_iam_lambda_role.iam_role.arn }}" handler: "validation_report.{{ aws_backup_validation.handler }}" register: _validation_report + failed_when: result.rc != 0 - name: Remove non UTF-8 item ansible.builtin.set_fact: