mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
AZURE-210 Deploy Crowd DC to Azure
This commit is contained in:
33
roles/az_common/tasks/main.yml
Normal file
33
roles/az_common/tasks/main.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
|
||||
- name: Install additional support packages
|
||||
package:
|
||||
name:
|
||||
- netcat
|
||||
- rsync
|
||||
- cifs-utils
|
||||
|
||||
- name: Fetch VM ID
|
||||
command: "dmidecode -s system-uuid"
|
||||
register: az_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 }}"
|
||||
tags:
|
||||
- runtime_pkg
|
||||
|
||||
- name: Tune TCP Keep Alive
|
||||
sysctl:
|
||||
name: '{{ item.key }}'
|
||||
value: '{{ item.value }}'
|
||||
reload: yes
|
||||
ignoreerrors: yes
|
||||
sysctl_file: /etc/sysctl.conf
|
||||
sysctl_set: yes
|
||||
with_dict: '{{ sysctl_config }}'
|
||||
tags:
|
||||
- runtime_pkg
|
||||
Reference in New Issue
Block a user