AZURE-211 Renamed az_* files to azure_*

This commit is contained in:
dbacon
2020-08-25 09:50:56 +01:00
parent 8654b1aeef
commit d6c3fb07de
24 changed files with 23 additions and 23 deletions

View File

@@ -0,0 +1,9 @@
---
azure_storage_account: "{{ lookup('env', 'AZURE_STORAGE_ACCOUNT') }}"
azure_storage_key: "{{ lookup('env', 'AZURE_STORAGE_KEY') }}"
efs_target: "//{{ azure_storage_account }}.file.core.windows.net"
efs_type: "cifs"
efs_src_dir: "{{ lookup('env', 'ATL_CROWD_SHARED_HOME_NAME') or 'crowd-home' }}"
efs_mount_options: "vers=3.0,uid=0,gid=0,dir_mode=0777,file_mode=077,username={{ azure_storage_account }},password={{ azure_storage_key }}"

View File

@@ -0,0 +1,3 @@
---
dependencies:
- azure_common

View File

@@ -0,0 +1,15 @@
---
- name: Create mountpoint
file:
state: directory
path: "{{ atl_shared_mountpoint }}"
mode: 0755
- name: Enable mountpoint in fstab
mount:
path: "{{ atl_shared_mountpoint }}"
src: "{{ efs_target }}/{{ efs_src_dir }}"
fstype: "{{ efs_type }}"
opts: "{{ efs_mount_options }}"
state: mounted