Browse Source

Tiny fix in FTP server kernel modules loader

Emmanuel Bouthenot 9 years ago
parent
commit
a731816852
1 changed files with 2 additions and 2 deletions
  1. 2 2
      roles/ftpserver/tasks/common.yml

+ 2 - 2
roles/ftpserver/tasks/common.yml

@@ -1,4 +1,4 @@
-- name: 'Install kernel modules loader for FTP server'
+- name: 'Install kernel modules loader for FTP server (Debian >= 8)'
   template:
     src: 'common/modules_ftpd.conf.j2'
     dest: '/etc/modules-load.d/ftpd.conf'
@@ -7,4 +7,4 @@
     mode: '0644'
   notify:
     - 'Load kernel modules for ftp server'
-  when: with_ftp
+  when: with_ftp and ansible_lsb.major_release|int >= 8