ITOPS-2059 adding tags to tasks which only apply to new stacks so they can be skipped by clones

This commit is contained in:
Geoff Jacobs
2019-08-21 11:25:24 +10:00
parent 9465537517
commit ceba8d47ba
4 changed files with 17 additions and 5 deletions

View File

@@ -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