diff --git a/roles/nfs-client/tasks/main.yml b/roles/nfs-client/tasks/main.yml index 1a3ea5fd54a102c95ec8276b8e59d6187f19ac7d..23ac6d08e10c0927ac3c680bc9a2a349771d01fe 100644 --- a/roles/nfs-client/tasks/main.yml +++ b/roles/nfs-client/tasks/main.yml @@ -15,4 +15,13 @@ - nfs-utils-lib when: ansible_os_family == "RedHat" and ansible_distribution_major_version < "7" +- name: install dependencies nfs-common ubuntu + apt: + name: nfs-common + state: present + update_cache: yes + become: true + become_user: root + when: ansible_distribution == 'Ubuntu' + - include: mountFileSystem.yml