mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-16 18:03:06 -06:00
AZURE-211 Renamed az_* files to azure_*
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: az_node_local
|
||||
- hosts: azure_node_local
|
||||
become: true
|
||||
|
||||
vars:
|
||||
@@ -23,13 +23,13 @@
|
||||
|
||||
roles:
|
||||
- role: linux_common
|
||||
- role: az_common
|
||||
- role: az_shared_fs_config
|
||||
- role: azure_common
|
||||
- role: azure_shared_fs_config
|
||||
- role: product_common
|
||||
- role: product_install
|
||||
tags: [skip_on_stack_update]
|
||||
- role: database_init
|
||||
tags: [skip_on_stack_update]
|
||||
- role: crowd_config
|
||||
- role: az_app_insights_install
|
||||
- role: azure_app_insights_install
|
||||
- role: product_startup
|
||||
@@ -1,2 +1,2 @@
|
||||
[az_node_local]
|
||||
[azure_node_local]
|
||||
localhost ansible_connection=local
|
||||
@@ -1,9 +0,0 @@
|
||||
---
|
||||
az_storage_account: "{{ lookup('env', 'AZ_STORAGE_ACCOUNT') }}"
|
||||
az_storage_key: "{{ lookup('env', 'AZ_STORAGE_KEY') }}"
|
||||
|
||||
efs_target: "//{{ az_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={{ az_storage_account }},password={{ az_storage_key }}"
|
||||
@@ -9,7 +9,7 @@ platforms:
|
||||
- name: ubuntu_lts
|
||||
image: ubuntu:bionic
|
||||
groups:
|
||||
- az_node_local
|
||||
- azure_node_local
|
||||
provisioner:
|
||||
name: ansible
|
||||
options:
|
||||
@@ -8,7 +8,7 @@
|
||||
atl_download_format: "tarball"
|
||||
roles:
|
||||
- role: linux_common
|
||||
- role: az_common
|
||||
- role: azure_common
|
||||
- role: product_common
|
||||
- role: product_install
|
||||
- role: az_app_insights_install
|
||||
- role: azure_app_insights_install
|
||||
@@ -9,7 +9,7 @@ platforms:
|
||||
- name: ubuntu_lts
|
||||
image: ubuntu:bionic
|
||||
groups:
|
||||
- az_node_local
|
||||
- azure_node_local
|
||||
provisioner:
|
||||
name: ansible
|
||||
options:
|
||||
@@ -20,4 +20,4 @@
|
||||
atl_proxy_port: "80"
|
||||
|
||||
roles:
|
||||
- role: az_common
|
||||
- role: azure_common
|
||||
@@ -10,13 +10,13 @@
|
||||
|
||||
- name: Fetch VM ID
|
||||
command: "dmidecode -s system-uuid"
|
||||
register: az_vm_id
|
||||
register: azure_vm_id
|
||||
tags:
|
||||
- runtime_pkg
|
||||
changed_when: true
|
||||
|
||||
- name: Use VM ID for cluster node ID
|
||||
set_fact:
|
||||
atl_cluster_node_id: "{{ az_vm_id.stdout }}"
|
||||
atl_cluster_node_id: "{{ azure_vm_id.stdout }}"
|
||||
tags:
|
||||
- runtime_pkg
|
||||
9
roles/azure_shared_fs_config/defaults/main.yml
Normal file
9
roles/azure_shared_fs_config/defaults/main.yml
Normal 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 }}"
|
||||
@@ -1,3 +1,3 @@
|
||||
---
|
||||
dependencies:
|
||||
- az_common
|
||||
- azure_common
|
||||
@@ -17,7 +17,7 @@ platforms:
|
||||
- name: ubuntu_lts_azure
|
||||
image: ubuntu:bionic
|
||||
groups:
|
||||
- az_node_local
|
||||
- azure_node_local
|
||||
provisioner:
|
||||
name: ansible
|
||||
options:
|
||||
|
||||
Reference in New Issue
Block a user