mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
remove user/group since they're done in linux-common. making the mesh version come from product version
This commit is contained in:
@@ -1,25 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: set up the bitbucket mesh group
|
|
||||||
ansible.builtin.group:
|
|
||||||
name: "{{ atl_product_user }}"
|
|
||||||
gid: 1001
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: set up the bitbucket mesh user
|
|
||||||
ansible.builtin.user:
|
|
||||||
name: "{{ atl_product_user }}"
|
|
||||||
uid: 1001
|
|
||||||
state: present
|
|
||||||
comment: "mesh_runtime_user"
|
|
||||||
groups: "{{ atl_product_user }}"
|
|
||||||
home: "{{ mesh_install_dir }}"
|
|
||||||
|
|
||||||
- name: Create Bitbucket dirs if necessary
|
- name: Create Bitbucket dirs if necessary
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
owner: "{{ atl_product_user }}"
|
owner: "{{ atl_product_user_uid }}"
|
||||||
group: "{{ atl_product_user }}"
|
group: "{{ atl_product_user_uid }}"
|
||||||
mode: 0750
|
mode: 0750
|
||||||
state: directory
|
state: directory
|
||||||
with_items:
|
with_items:
|
||||||
@@ -39,11 +24,12 @@
|
|||||||
group_id: "com.atlassian.bitbucket.mesh"
|
group_id: "com.atlassian.bitbucket.mesh"
|
||||||
artifact_id: "mesh-distribution"
|
artifact_id: "mesh-distribution"
|
||||||
extension: "tar.gz"
|
extension: "tar.gz"
|
||||||
|
version: "{{ atl_product_version }}"
|
||||||
repository_url: "{{ bitbucket_mesh_maven_repo }}"
|
repository_url: "{{ bitbucket_mesh_maven_repo }}"
|
||||||
dest: "{{ mesh_install_dir }}"
|
dest: "{{ mesh_install_dir }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
owner: "{{ atl_product_user }}"
|
owner: "{{ atl_product_user_uid }}"
|
||||||
group: "{{ atl_product_user }}"
|
group: "{{ atl_product_user_uid }}"
|
||||||
register: maven_download
|
register: maven_download
|
||||||
|
|
||||||
- name: debug
|
- name: debug
|
||||||
|
|||||||
Reference in New Issue
Block a user