diff --git a/roles/communishift/library/communishift_storage_efs.py b/roles/communishift/library/communishift_storage_efs.py index ecedadd04a..3c5c71d0bd 100644 --- a/roles/communishift/library/communishift_storage_efs.py +++ b/roles/communishift/library/communishift_storage_efs.py @@ -151,7 +151,7 @@ def run_module(): module.exit_json(**result) except efs_client.exceptions.AccessPointAlreadyExists: result["message"] = "AWS EFS AccessPoint already exists." - module.fail_json(**result) + module.fail_json("", **result) def main(): diff --git a/roles/communishift/tasks/create-efs.yml b/roles/communishift/tasks/create-efs.yml index 1418eee8cc..384524d356 100644 --- a/roles/communishift/tasks/create-efs.yml +++ b/roles/communishift/tasks/create-efs.yml @@ -28,7 +28,7 @@ aws_region: "{{ communishift_region }}" aws_efs_filesystem_id: "{{ create_efs_filesystem_response['efs']['file_system_id'] }}" register: create_efs_accesspoint_response - + ignore_errors: true - name: Print the response from the AWS EFS AccessPoint creation debug: