updated bitbucket playbook names
diff --git a/bitbucket-add-user-permission.yml b/bitbucket-add-user-permission.yml deleted file mode 100644 index 07f8ae3..0000000 --- a/bitbucket-add-user-permission.yml +++ /dev/null
@@ -1,10 +0,0 @@ ---- -- name: Add repo permission for user {{ repo_user }} - uri: - url: "{{ bitbucket_project_api_endpoint }}/permissions/users?name={{ repo_user }}&permission=PROJECT_ADMIN" - method: PUT - user: "{{ vz_windows_user }}" - password: "{{ vz_windows_password }}" - force_basic_auth: yes - status_code: 204,409 - with_items: "{{ repo_names }}"
diff --git a/bitbucket-create-repos.yml b/bitbucket-create-update-repos.yml similarity index 94% rename from bitbucket-create-repos.yml rename to bitbucket-create-update-repos.yml index 3d9c2a0..3538a72 100644 --- a/bitbucket-create-repos.yml +++ b/bitbucket-create-update-repos.yml
@@ -1,11 +1,11 @@ --- -- name: Create repositories in BitBucket +- name: Create and update repositories in BitBucket hosts: localhost connection: local vars_files: - workspace-github-repos.yml - workspace-folders.yml - - bitbucket-users.yml + - bitbucket-repo-user-list.yml vars: bitbucket_project_api_endpoint: "https://onestash.verizon.com/rest/api/1.0/projects/CELVW" bitbucket_repo_api_endpoint: "{{ bitbucket_project_api_endpoint }}/repos"
diff --git a/bitbucket-users.yml b/bitbucket-repo-user-list.yml similarity index 100% rename from bitbucket-users.yml rename to bitbucket-repo-user-list.yml