added status_code
diff --git a/bitbucket-add-user-permission.yml b/bitbucket-add-user-permission.yml index 33479e9..9be4097 100644 --- a/bitbucket-add-user-permission.yml +++ b/bitbucket-add-user-permission.yml
@@ -6,4 +6,5 @@ user: "{{ vz_windows_user }}" password: "{{ vz_windows_password }}" force_basic_auth: yes + status_code: 204 with_items: "{{ repo_names }}"
diff --git a/bitbucket-create-repos.yml b/bitbucket-create-repos.yml index 3f2e046..49e7b97 100644 --- a/bitbucket-create-repos.yml +++ b/bitbucket-create-repos.yml
@@ -17,7 +17,7 @@ user: "{{ vz_windows_user }}" password: "{{ vz_windows_password }}" force_basic_auth: yes - status_code: 201,409 + c: 201,409 body_format: json body: name: "{{ item.repo_name }}"