diff --git a/roles/lustre-client/tasks/main.yml b/roles/lustre-client/tasks/main.yml index 41d03b0e4df28534dee4f9401ac3b737a560e221..d02a6ba83d2d2238bc39b8bf09ecda2f00db08c6 100644 --- a/roles/lustre-client/tasks/main.yml +++ b/roles/lustre-client/tasks/main.yml @@ -13,12 +13,18 @@ # with_items: "{{ lustre_pkgs }}" - name: install rpms - yum: name=/tmp/lustre-client-modules-2.7.0-3.10.0_229.14.1.el7.x86_64.x86_64.rpm + # we now have a new kernel version + #yum: name=/tmp/lustre-client-modules-2.7.0-3.10.0_229.14.1.el7.x86_64.x86_64.rpm + #yum: name=/tmp/lustre-client-modules-2.7.0-3.10.0_229.20.1.el7.x86_64.x86_64.rpm + yum: name=/tmp/lustre-client-modules-2.7.65-3.10.0_327.4.4.el7.x86_64_gab38c3a.x86_64.rpm sudo: true when: ansible_os_family == "RedHat" - name: install rpms - yum: name=/tmp/lustre-client-2.7.0-3.10.0_229.14.1.el7.x86_64.x86_64.rpm + # we now have a new kernel version + #yum: name=/tmp/lustre-client-2.7.0-3.10.0_229.14.1.el7.x86_64.x86_64.rpm + #yum: name=/tmp/lustre-client-2.7.0-3.10.0_229.20.1.el7.x86_64.x86_64.rpm + yum: name=/tmp/lustre-client-2.7.65-3.10.0_327.4.4.el7.x86_64_gab38c3a.x86_64.rpm sudo: true when: ansible_os_family == "RedHat" @@ -38,10 +44,32 @@ # vi debian/changelog (the version number on the first line is incorrect) # make debs # -- name: install debs - apt: name="/tmp/{{ item }}" +#- linux-patch-lustre_2.7.62-1_all.deb +# - lustre-client-modules-3.13.0-58-generic_2.7.62-1_amd64.deb +# - lustre-utils_2.7.62-1_amd64.deb +# +# LOOPS DO NOT WORK WITH YUM OR APT IN ANSIBLE +#- name: install debs from /tmp +# apt: name="/tmp/{{ item }}" +# #apt: deb="/tmp/{{ item }}" +# sudo: true +# with_items: "{{ lustre_pkgs }}" +# when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "14" + + +- name: install linux-patch-lustre_2.7.62-1_all.deb + apt: deb="/tmp/linux-patch-lustre_2.7.62-1_all.deb" + sudo: true + when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "14" + +- name: install lustre-client-modules-3.13.0-83-generic_2.7.62-1_amd64.deb + apt: deb="/tmp/lustre-client-modules-3.13.0-83-generic_2.7.62-1_amd64.deb" + sudo: true + when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "14" + +- name: install lustre-utils_2.7.62-1_amd64.deb + apt: deb="/tmp/lustre-utils_2.7.62-1_amd64.deb" sudo: true - with_items: "{{ lustre_pkgs }}" when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "14" - name: "Mount lustre filesystems"