mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
fix non-Amazon distro support
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
---
|
||||
|
||||
- name: Install distro-specific NFS packages
|
||||
- name: Install Amazon-Linux-specific NFS packages
|
||||
ansible.builtin.include_tasks: "{{ ansible_distribution | lower }}-{{ ansible_distribution_version }}.yml"
|
||||
when: ansible_distribution | lower == 'amazon'
|
||||
|
||||
- name: Install Ubuntu/Debian-specific NFS packages
|
||||
ansible.builtin.include_tasks: "{{ ansible_distribution | lower }}.yml"
|
||||
when: ansible_distribution | lower != 'amazon'
|
||||
|
||||
- name: Create mountpoint
|
||||
ansible.builtin.file:
|
||||
|
||||
Reference in New Issue
Block a user