mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
ITOPS-2059 adding tags to tasks which only apply to new stacks so they can be skipped by clones
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
number: 1
|
||||
flags:
|
||||
- "{{ atl_nfs_fs_type }}"
|
||||
tags:
|
||||
- new_only
|
||||
|
||||
|
||||
- name: Create the filesystem
|
||||
@@ -24,6 +26,8 @@
|
||||
dev: "{{ atl_nfs_server_device }}"
|
||||
fstype: "{{ atl_nfs_fs_type }}"
|
||||
opts: "-L {{ atl_nfs_fs_label }}"
|
||||
tags:
|
||||
- new_only
|
||||
|
||||
- name: Setup fstab and mount the filesystem
|
||||
mount:
|
||||
@@ -33,13 +37,15 @@
|
||||
state: mounted
|
||||
|
||||
|
||||
- name: Create the shared home as BB mounts this directly
|
||||
- name: Create the shared home
|
||||
file:
|
||||
path: "{{ atl_shared_mountpoint }}/bitbucket/shared"
|
||||
path: "{{ atl_shared_mountpoint }}/{{ atl_product_user }}/shared"
|
||||
state: directory
|
||||
owner: "{{ atl_product_user }}"
|
||||
group: "{{ atl_product_user }}"
|
||||
mode: 0750
|
||||
tags:
|
||||
- new_only
|
||||
|
||||
|
||||
- name: Create the NFS export file
|
||||
|
||||
Reference in New Issue
Block a user