Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,20 @@
- name: Install Azure-specific platform packages
when: ansible_facts["system_vendor"] == "Microsoft Corporation"
block:
- name: Create Azure HPC resource directories
file:
path: "{{ item }}"
state: directory
owner: root
group: root
mode: '0755'
loop:
- "{{ __hpc_azure_resource_dir }}"
- "{{ __hpc_azure_resource_dir }}/bin"
- "{{ __hpc_azure_tools_dir }}"
- "{{ __hpc_azure_tests_dir }}"
- "{{ __hpc_azure_runtime_dir }}"

- name: Install Azure platform packages
environment:
AZNFS_NONINTERACTIVE_INSTALL: "1"
Expand All @@ -384,20 +398,6 @@
group: root
mode: '0755'

- name: Create Azure HPC resource directories
file:
path: "{{ item }}"
state: directory
owner: root
group: root
mode: '0755'
loop:
- "{{ __hpc_azure_resource_dir }}"
- "{{ __hpc_azure_resource_dir }}/bin"
- "{{ __hpc_azure_tools_dir }}"
- "{{ __hpc_azure_tests_dir }}"
- "{{ __hpc_azure_runtime_dir }}"

- name: Install NVidia driver
# Note that currently the role supports only Microsoft Azure
# When we add more cloud providers, we need to update this condition
Expand Down
Loading