communishift: Configure AWS EFS to continue on fail
Signed-off-by: David Kirwan <dkirwan@redhat.com> Signed-off-by: Lenka Segura <lsegura@redhat.com> Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
This commit is contained in:
parent
b1a0394649
commit
e9bced043b
2 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ def run_module():
|
||||||
module.exit_json(**result)
|
module.exit_json(**result)
|
||||||
except efs_client.exceptions.AccessPointAlreadyExists:
|
except efs_client.exceptions.AccessPointAlreadyExists:
|
||||||
result["message"] = "AWS EFS AccessPoint already exists."
|
result["message"] = "AWS EFS AccessPoint already exists."
|
||||||
module.fail_json(**result)
|
module.fail_json("", **result)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
aws_region: "{{ communishift_region }}"
|
aws_region: "{{ communishift_region }}"
|
||||||
aws_efs_filesystem_id: "{{ create_efs_filesystem_response['efs']['file_system_id'] }}"
|
aws_efs_filesystem_id: "{{ create_efs_filesystem_response['efs']['file_system_id'] }}"
|
||||||
register: create_efs_accesspoint_response
|
register: create_efs_accesspoint_response
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Print the response from the AWS EFS AccessPoint creation
|
- name: Print the response from the AWS EFS AccessPoint creation
|
||||||
debug:
|
debug:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue