mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13: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
|
become: true
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
@@ -23,13 +23,13 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: linux_common
|
- role: linux_common
|
||||||
- role: az_common
|
- role: azure_common
|
||||||
- role: az_shared_fs_config
|
- role: azure_shared_fs_config
|
||||||
- role: product_common
|
- role: product_common
|
||||||
- role: product_install
|
- role: product_install
|
||||||
tags: [skip_on_stack_update]
|
tags: [skip_on_stack_update]
|
||||||
- role: database_init
|
- role: database_init
|
||||||
tags: [skip_on_stack_update]
|
tags: [skip_on_stack_update]
|
||||||
- role: crowd_config
|
- role: crowd_config
|
||||||
- role: az_app_insights_install
|
- role: azure_app_insights_install
|
||||||
- role: product_startup
|
- role: product_startup
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
[az_node_local]
|
[azure_node_local]
|
||||||
localhost ansible_connection=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
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:bionic
|
||||||
groups:
|
groups:
|
||||||
- az_node_local
|
- azure_node_local
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
options:
|
options:
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
atl_download_format: "tarball"
|
atl_download_format: "tarball"
|
||||||
roles:
|
roles:
|
||||||
- role: linux_common
|
- role: linux_common
|
||||||
- role: az_common
|
- role: azure_common
|
||||||
- role: product_common
|
- role: product_common
|
||||||
- role: product_install
|
- role: product_install
|
||||||
- role: az_app_insights_install
|
- role: azure_app_insights_install
|
||||||
@@ -9,7 +9,7 @@ platforms:
|
|||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:bionic
|
||||||
groups:
|
groups:
|
||||||
- az_node_local
|
- azure_node_local
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
options:
|
options:
|
||||||
@@ -20,4 +20,4 @@
|
|||||||
atl_proxy_port: "80"
|
atl_proxy_port: "80"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: az_common
|
- role: azure_common
|
||||||
@@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
- name: Fetch VM ID
|
- name: Fetch VM ID
|
||||||
command: "dmidecode -s system-uuid"
|
command: "dmidecode -s system-uuid"
|
||||||
register: az_vm_id
|
register: azure_vm_id
|
||||||
tags:
|
tags:
|
||||||
- runtime_pkg
|
- runtime_pkg
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|
||||||
- name: Use VM ID for cluster node ID
|
- name: Use VM ID for cluster node ID
|
||||||
set_fact:
|
set_fact:
|
||||||
atl_cluster_node_id: "{{ az_vm_id.stdout }}"
|
atl_cluster_node_id: "{{ azure_vm_id.stdout }}"
|
||||||
tags:
|
tags:
|
||||||
- runtime_pkg
|
- 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:
|
dependencies:
|
||||||
- az_common
|
- azure_common
|
||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
- name: ubuntu_lts_azure
|
- name: ubuntu_lts_azure
|
||||||
image: ubuntu:bionic
|
image: ubuntu:bionic
|
||||||
groups:
|
groups:
|
||||||
- az_node_local
|
- azure_node_local
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
options:
|
options:
|
||||||
|
|||||||
Reference in New Issue
Block a user